Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(410)

Issue 4425063: code review 4425063: go/types: type checker API + testing infrastructure (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years ago by gri
Modified:
13 years, 11 months ago
Reviewers:
CC:
rsc, golang-dev
Visibility:
Public.

Description

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.

Patch Set 1 #

Patch Set 2 : diff -r 544094ecf115 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 3211aa1f1e32 https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r 3211aa1f1e32 https://go.googlecode.com/hg/ #

Patch Set 5 : diff -r 3211aa1f1e32 https://go.googlecode.com/hg/ #

Patch Set 6 : diff -r 4f0fd7d49dfa https://go.googlecode.com/hg/ #

Patch Set 7 : diff -r 4f0fd7d49dfa https://go.googlecode.com/hg/ #

Patch Set 8 : diff -r d93b5329ae9f https://go.googlecode.com/hg/ #

Patch Set 9 : diff -r d93b5329ae9f https://go.googlecode.com/hg/ #

Patch Set 10 : diff -r d93b5329ae9f https://go.googlecode.com/hg/ #

Patch Set 11 : diff -r 43f8148463d6 https://go.googlecode.com/hg/ #

Patch Set 12 : diff -r 502384dd99e8 https://go.googlecode.com/hg/ #

Patch Set 13 : diff -r 62e4846d10de https://go.googlecode.com/hg/ #

Patch Set 14 : diff -r 62e4846d10de https://go.googlecode.com/hg/ #

Patch Set 15 : diff -r f39664db2e15 https://go.googlecode.com/hg/ #

Patch Set 16 : diff -r 5d2e5dc41b04 https://go.googlecode.com/hg/ #

Patch Set 17 : diff -r b751683cc600 https://go.googlecode.com/hg/ #

Patch Set 18 : diff -r c85198087f01 https://go.googlecode.com/hg/ #

Patch Set 19 : diff -r dd5166932c9a https://go.googlecode.com/hg/ #

Patch Set 20 : diff -r dd5166932c9a https://go.googlecode.com/hg/ #

Patch Set 21 : diff -r dd5166932c9a https://go.googlecode.com/hg/ #

Patch Set 22 : diff -r 97c8204051c5 https://go.googlecode.com/hg/ #

Total comments: 10

Patch Set 23 : diff -r 5147cc4a249c https://go.googlecode.com/hg/ #

Patch Set 24 : diff -r 5147cc4a249c https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+849 lines, -70 lines) Patch
M src/cmd/gotype/gotype.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +4 lines, -2 lines 0 comments Download
M src/pkg/go/types/Makefile View 1 1 chunk +1 line, -0 lines 0 comments Download
A src/pkg/go/types/check.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +230 lines, -0 lines 0 comments Download
A src/pkg/go/types/check_test.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +224 lines, -0 lines 0 comments Download
M src/pkg/go/types/gcimporter.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 7 chunks +75 lines, -58 lines 0 comments Download
M src/pkg/go/types/testdata/exports.go View 1 15 1 chunk +1 line, -1 line 0 comments Download
A src/pkg/go/types/testdata/test0.src View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +154 lines, -0 lines 0 comments Download
M src/pkg/go/types/types.go View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 5 chunks +160 lines, -9 lines 0 comments Download

Messages

Total messages: 5
gri
Hello rsc (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
14 years ago (2011-04-28 21:06:36 UTC) #1
gri
Hello rsc (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 11 months ago (2011-05-13 01:34:34 UTC) #2
rsc
LGTM Was smaller than I expected. Sorry for putting it off during the I/O ramp-up. ...
13 years, 11 months ago (2011-05-13 22:09:11 UTC) #3
gri
http://codereview.appspot.com/4425063/diff/30011/src/pkg/go/types/check.go File src/pkg/go/types/check.go (right): http://codereview.appspot.com/4425063/diff/30011/src/pkg/go/types/check.go#newcode22 src/pkg/go/types/check.go:22: type checker struct { On 2011/05/13 22:09:12, rsc wrote: ...
13 years, 11 months ago (2011-05-13 22:22:34 UTC) #4
gri
13 years, 11 months ago (2011-05-13 22:31:13 UTC) #5
*** Submitted as http://code.google.com/p/go/source/detail?r=8c1eff180ecc ***

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
http://codereview.appspot.com/4425063
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b