summaryrefslogtreecommitdiff
path: root/test/interface/explicit.go
AgeCommit message (Collapse)AuthorFilesLines
2013-12-03Imported Upstream version 1.2upstream/1.2Michael Stapelberg1-0/+19
2013-03-04Imported Upstream version 1.1~hg20130304upstream/1.1_hg20130304Michael Stapelberg1-1/+7
2012-04-06Imported Upstream version 1upstream/1Ondřej Surý1-2/+3
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý1-0/+75
2011-09-13Imported Upstream version 60Ondřej Surý1-75/+0
2011-02-14Imported Upstream version 2011-02-01.1upstream/2011-02-01.1Ondřej Surý1-8/+12
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-6/+6
2010-06-09gc: more cleanupRuss Cox1-1/+20
* disallow surrogate pair runes. * diagnose impossible type assertions * eliminate another static buffer. * do not overflow lexbuf. * add -u flag to disable package unsafe. R=ken2 CC=golang-dev http://codereview.appspot.com/1619042
2010-06-08gc: new typechecking rulesRuss Cox1-15/+26
* 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
2009-07-17Recognize gccgo error message.Ian Lance Taylor1-1/+1
explicit.go:21:5: error: incompatible types in assignment (need explicit conversion) explicit.go:26:5: error: incompatible types in assignment (type has no methods) explicit.go:27:5: error: incompatible types in assignment (need explicit conversion) explicit.go:30:6: error: incompatible types in assignment (need explicit conversion; missing method ‘N’) explicit.go:33:7: error: invalid type conversion (need explicit conversion; missing method ‘N’) explicit.go:36:5: error: incompatible types in assignment R=rsc DELTA=1 (0 added, 0 deleted, 1 changed) OCL=31805 CL=31807
2009-07-06allow conversion to interface typeRuss Cox1-4/+11
when implicit assignment would have been okay. R=ken OCL=31225 CL=31227
2009-05-21add test for yesterday's interface rule change (interface/convert1.go).Russ Cox1-0/+34
move interface tests to subdirectory. R=r DELTA=1632 (827 added, 804 deleted, 1 changed) OCL=29181 CL=29191