summaryrefslogtreecommitdiff
path: root/test/interface
AgeCommit message (Collapse)AuthorFilesLines
2015-01-15Imported Upstream version 1.4upstream/1.4Tianon Gravi2-16/+2
2013-12-03Imported Upstream version 1.2upstream/1.2Michael Stapelberg2-2/+36
2013-03-04Imported Upstream version 1.1~hg20130304upstream/1.1_hg20130304Michael Stapelberg10-82/+104
2012-04-06Imported Upstream version 1upstream/1Ondřej Surý22-41/+149
2011-11-28Imported Upstream version 60.3upstream/60.3Ondřej Surý1-20/+20
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý19-0/+1143
2011-09-13Imported Upstream version 60Ondřej Surý19-1143/+0
2011-04-28Imported Upstream version 2011.04.27upstream/2011.04.27Ondřej Surý2-1/+2
2011-04-26Imported Upstream version 2011.04.13upstream/2011.04.13Ondřej Surý3-12/+62
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ý13-255/+304
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 Cox3-54/+74
* 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
2010-03-30single argument panicRuss Cox2-55/+64
note that sortmain.go has been run through hg gofmt; only the formatting of the day initializers changed. i'm happy to revert that formatting if you'd prefer. stop on error in doc/progs/run R=r CC=golang-dev http://codereview.appspot.com/850041
2010-03-24delete all uses of panicln by rewriting them using panic or,Rob Pike1-52/+60
in the tests, println+panic. gofmt some tests too. R=rsc CC=golang-dev http://codereview.appspot.com/741041
2009-11-14test/interface/receiver.go: expand to do dynamicRuss Cox1-0/+8
versions of static checks in receiver1.go R=r http://codereview.appspot.com/155045
2009-10-25 make 5l ignore multiple defs, remove use of multipleKai Backman1-1/+1
defs from embed1 and gotest R=rsc http://go/go-review/1014009
2009-10-20forgot to include in 35898.Russ Cox1-0/+29
R=ken OCL=35917 CL=35917
2009-10-196g bug fixes:Russ Cox2-21/+66
* bug211 * embedded interfaces with lowercase methods * var _ = f() at top level R=ken OCL=35898 CL=35898
2009-10-19fiddling while rome burns: explain why tests are commented outRob Pike1-0/+2
R=rsc DELTA=2 (2 added, 0 deleted, 0 changed) OCL=35874 CL=35880
2009-09-14fix "declared and not used" in tests;Russ Cox4-3/+8
also template/template.go, missed last time. R=r DELTA=116 (61 added, 10 deleted, 45 changed) OCL=34620 CL=34622
2009-08-17fix up some irregular indentationRob Pike1-79/+79
R=rsc OCL=33382 CL=33391
2009-08-12delete forward type declarationsRuss Cox2-4/+0
R=r DELTA=163 (1 added, 149 deleted, 13 changed) OCL=33106 CL=33111
2009-08-12convert non-pkg go files to whole-package compilation.Russ Cox1-1/+0
mostly removing forward declarations. R=r DELTA=138 (2 added, 127 deleted, 9 changed) OCL=33068 CL=33099
2009-08-03more 6g reorg; checkpoint.Russ Cox1-1/+1
typecheck.c is now responsible for all type checking except for assignment and function argument "..." R=ken OCL=32661 CL=32667
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-07update tests for new reflectRuss Cox1-10/+10
R=r DELTA=12 (0 added, 0 deleted, 12 changed) OCL=31240 CL=31290
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-22another interface conversion testRuss Cox1-0/+25
R=r DELTA=21 (21 added, 0 deleted, 0 changed) OCL=29212 CL=29249
2009-05-21add test for yesterday's interface rule change (interface/convert1.go).Russ Cox13-0/+867
move interface tests to subdirectory. R=r DELTA=1632 (827 added, 804 deleted, 1 changed) OCL=29181 CL=29191