diff options
author | Russ Cox <rsc@golang.org> | 2010-06-08 18:50:02 -0700 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2010-06-08 18:50:02 -0700 |
commit | 565b5dc0760baf556f83adf847f578718a1c571f (patch) | |
tree | e2dc094314df75a900a88adc71677452545d74ca /test/golden.out | |
parent | 6aaef044698bf9da21e270188f281321de98a391 (diff) | |
download | go-git-565b5dc0760baf556f83adf847f578718a1c571f.tar.gz |
gc: new typechecking rules
* Code for assignment, conversions now mirrors spec.
* Changed some snprint -> smprint.
* Renamed runtime functions to separate
interface conversions from type assertions:
convT2I, assertI2T, etc.
* Correct checking of \U sequences.
Fixes #840.
Fixes #830.
Fixes #778.
R=ken2
CC=golang-dev
https://golang.org/cl/1303042
Diffstat (limited to 'test/golden.out')
-rw-r--r-- | test/golden.out | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/test/golden.out b/test/golden.out index cda1ec412b..1bed6599a8 100644 --- a/test/golden.out +++ b/test/golden.out @@ -180,58 +180,3 @@ BUG: bug260 failed =========== bugs/bug274.go BUG: errchk: command succeeded unexpectedly - -=========== bugs/bug284.go -BUG: errchk: bugs/bug284.go:33: missing expected error: 'cannot' -errchk: bugs/bug284.go:36: missing expected error: 'cannot' -errchk: bugs/bug284.go:37: missing expected error: 'cannot' -errchk: bugs/bug284.go:38: missing expected error: 'cannot' -errchk: bugs/bug284.go:56: missing expected error: 'cannot' -errchk: bugs/bug284.go:59: missing expected error: 'cannot' -errchk: bugs/bug284.go:60: missing expected error: 'cannot' -errchk: bugs/bug284.go:61: missing expected error: 'cannot' -errchk: bugs/bug284.go:71: missing expected error: 'cannot' -errchk: bugs/bug284.go:74: missing expected error: 'cannot' -errchk: bugs/bug284.go:75: missing expected error: 'cannot' -errchk: bugs/bug284.go:76: missing expected error: 'cannot' -errchk: bugs/bug284.go:96: missing expected error: 'cannot' -errchk: bugs/bug284.go:99: missing expected error: 'cannot' -errchk: bugs/bug284.go:101: missing expected error: 'cannot' -errchk: bugs/bug284.go:111: missing expected error: 'cannot' -errchk: bugs/bug284.go:114: missing expected error: 'cannot' -errchk: bugs/bug284.go:115: missing expected error: 'cannot' -errchk: bugs/bug284.go:116: missing expected error: 'cannot' -errchk: bugs/bug284.go:134: missing expected error: 'cannot|need type assertion' -errchk: bugs/bug284.go:137: missing expected error: 'cannot|need type assertion' -errchk: bugs/bug284.go:138: missing expected error: 'cannot|need type assertion' -errchk: bugs/bug284.go:139: missing expected error: 'cannot|need type assertion' -errchk: bugs/bug284.go:149: missing expected error: 'cannot' -errchk: bugs/bug284.go:152: missing expected error: 'cannot' -errchk: bugs/bug284.go:153: missing expected error: 'cannot' -errchk: bugs/bug284.go:154: missing expected error: 'cannot' -errchk: bugs/bug284.go:164: missing expected error: 'cannot' -errchk: bugs/bug284.go:167: missing expected error: 'cannot' -errchk: bugs/bug284.go:168: missing expected error: 'cannot' -errchk: bugs/bug284.go:169: missing expected error: 'cannot' -errchk: bugs/bug284.go:179: missing expected error: 'cannot' -errchk: bugs/bug284.go:182: missing expected error: 'cannot' -errchk: bugs/bug284.go:183: missing expected error: 'cannot' -errchk: bugs/bug284.go:184: missing expected error: 'cannot' -errchk: bugs/bug284.go: unmatched error messages: -================================================== -bugs/bug284.go:190: internal compiler error: typename ideal -================================================== - -=========== bugs/bug285.go -bugs/bug285.go:23: invalid map index false - need type B -bugs/bug285.go:80: invalid map index z - need type interface { } -bugs/bug285.go:83: invalid map index new(struct { x int }) - need type interface { } -bugs/bug285.go:84: invalid map index p - need type interface { } -bugs/bug285.go:85: invalid map index false - need type interface { } -bugs/bug285.go:86: invalid map index 17 - need type interface { } -bugs/bug285.go:87: invalid map index "foo" - need type interface { } -bugs/bug285.go:93: invalid map index new(struct { x int }) - need type I1 -bugs/bug285.go:94: invalid map index false - need type I1 -bugs/bug285.go:95: invalid map index 17 - need type I1 -bugs/bug285.go:95: too many errors -BUG: bug285 |