]> Cypherpunks repositories - gostls13.git/commit
exp/types: process ast.Fun in checkObj; fix variadic function building
authorAndrew Wilkins <axwalk@gmail.com>
Thu, 26 Jul 2012 18:47:46 +0000 (11:47 -0700)
committerRobert Griesemer <gri@golang.org>
Thu, 26 Jul 2012 18:47:46 +0000 (11:47 -0700)
commitd399b681a4d307fa5a09dd15c8cf96adeccb6db4
tree1f899aa345105210e261c0d8e27d15d27bc1dc22
parentfda29b6a4204d8658b3c1f763ac775afcc6cac00
exp/types: process ast.Fun in checkObj; fix variadic function building

Fixed creation of Func's, taking IsVariadic from parameter list rather
than results.

Updated checkObj to process ast.Fun objects.

R=gri
CC=golang-dev
https://golang.org/cl/6402046
src/pkg/exp/types/check.go
src/pkg/exp/types/types_test.go [new file with mode: 0644]