]> Cypherpunks repositories - gostls13.git/commit
go/types: type checker API + testing infrastructure
authorRobert Griesemer <gri@golang.org>
Fri, 13 May 2011 22:31:09 +0000 (15:31 -0700)
committerRobert Griesemer <gri@golang.org>
Fri, 13 May 2011 22:31:09 +0000 (15:31 -0700)
commitba006e6b6afeb8a6718cfbfb04104cc8f4b28a1a
treefa751cedabe15dfb951ca965414f97b322aa881a
parent32b822f29a7e0ceaee9d393da8fa85e6d2e9c9f1
go/types: type checker API + testing infrastructure

At the moment types.Check() only deals with global
types and only partially so. But the framework is
there to compute them and check for cycles. An initial
type test is passing.

First step of a series of CLs to come.

R=rsc
CC=golang-dev
https://golang.org/cl/4425063
src/cmd/gotype/gotype.go
src/pkg/go/types/Makefile
src/pkg/go/types/check.go [new file with mode: 0644]
src/pkg/go/types/check_test.go [new file with mode: 0644]
src/pkg/go/types/gcimporter.go
src/pkg/go/types/testdata/exports.go
src/pkg/go/types/testdata/test0.src [new file with mode: 0644]
src/pkg/go/types/types.go