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 | 105c61f5ede0604545bfb2ae58d5627b8ddc0614 (patch) | |
tree | 19d1ab733d194831a2bf78d352fc92bb71e86f7a /test/golden.out | |
parent | 86bca21ef3fb4caf07f58216af511ce6938742e6 (diff) | |
download | go-105c61f5ede0604545bfb2ae58d5627b8ddc0614.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 issue 840.
Fixes issue 830.
Fixes issue 778.
R=ken2
CC=golang-dev
http://codereview.appspot.com/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 cda1ec412..1bed6599a 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 |