summaryrefslogtreecommitdiff
path: root/test/fixedbugs
AgeCommit message (Collapse)AuthorFilesLines
2010-01-30Match gccgo error messages.Ian Lance Taylor1-7/+7
bug238.go:11:7: error: invalid constant type bug238.go:12:7: error: invalid constant type bug238.go:13:7: error: invalid constant type bug238.go:14:7: error: invalid constant type bug238.go:15:7: error: invalid constant type bug238.go:16:7: error: invalid constant type bug238.go:17:7: error: invalid constant type R=rsc CC=golang-dev http://codereview.appspot.com/194159
2010-01-30Match gccgo error message.Ian Lance Taylor1-1/+1
bug231.go:20:4: error: incompatible types in assignment (type has no methods) R=rsc CC=golang-dev http://codereview.appspot.com/194156
2010-01-29Recognize gccgo error messages.Ian Lance Taylor1-2/+2
bug228.go:11:25: error: invalid use of ‘...’ bug228.go:13:13: error: ‘...’ only permits one name bug228.go:15:20: error: ‘...’ must be last parameter bug228.go:17:7: error: expected type bug228.go:19:8: error: expected type R=rsc CC=golang-dev http://codereview.appspot.com/196077
2010-01-26gc: fix chan <- chan precedence.Russ Cox1-0/+39
also allow func() func(). R=ken2 CC=golang-dev http://codereview.appspot.com/194078
2010-01-25runtime, type switch: eliminate package global name space assumptionRuss Cox5-0/+191
bonus: type switch now detects multiple uses of identical interface types. bonus: interface types are now order-independent, following the spec. R=ken2 CC=golang-dev http://codereview.appspot.com/194053
2010-01-255l, 6l, 8l: accept only one object fileRuss Cox1-1/+1
(package main; others are pulled in automatically) R=ken2 CC=golang-dev http://codereview.appspot.com/194069
2010-01-24gc: bug247, reported by robRuss Cox1-0/+20
R=ken2 CC=golang-dev http://codereview.appspot.com/194051
2010-01-19gc: const debug bool = falseRuss Cox1-0/+3
R=ken2 CC=golang-dev http://codereview.appspot.com/186232
2010-01-18gc: bug245Russ Cox1-0/+16
Fixes issue 529. R=ken2 CC=golang-dev http://codereview.appspot.com/186215
2010-01-18gc: multiple return value at top-level invoked multiple timesRuss Cox1-0/+30
Fixes issue 402. R=ken2 CC=golang-dev http://codereview.appspot.com/186214
2010-01-18gc: bug243Russ Cox1-0/+28
Fixes issue 481. R=ken2 CC=golang-dev http://codereview.appspot.com/186213
2010-01-08gc: bug238Russ Cox1-0/+19
Fixes issue 471. R=ken2 CC=golang-dev http://codereview.appspot.com/181184
2010-01-07gc: bug219, bug239, bug240Russ Cox3-0/+79
Fixes issue 475. R=ken2 CC=golang-dev http://codereview.appspot.com/183157
2010-01-07gc: bug241Russ Cox1-0/+11
Fixes issue 495. R=ken2 CC=golang-dev http://codereview.appspot.com/183156
2009-12-23Add a test for issue 337.Ian Lance Taylor1-0/+25
gccgo currently miscompiles this test. R=rsc CC=golang-dev http://codereview.appspot.com/181050
2009-12-18More evaluation order tests, for global variables and switch.Ian Lance Taylor1-0/+53
gccgo currently fails this test. R=rsc CC=golang-dev http://codereview.appspot.com/179108
2009-12-17gc: fix compiler crashRuss Cox1-0/+17
R=ken2 CC=dho http://codereview.appspot.com/179097
2009-12-15runtime: return zero value in x, ok = <-c when ok == falseRuss Cox1-0/+20
Fixes issue 401. R=ken2 http://codereview.appspot.com/180053
2009-12-15gc: fix import name resolutionRuss Cox1-0/+10
Fixes issue 403. R=ken2 http://codereview.appspot.com/180052
2009-12-15gc: bug fixes.Russ Cox3-0/+67
* better error for lookup of unexported field * do not assign "ideal string" type to typed string literal * do not confuse methods and fields during interface check Fixes issue 410. Fixes issue 411. Fixes issue 426. R=ken2 http://codereview.appspot.com/179069
2009-12-15gc: allow ... in method listsRuss Cox1-0/+8
R=ken2 http://codereview.appspot.com/179070
2009-12-15gc: double-check usage of ...Russ Cox1-0/+19
Fixes issue 423. R=ken2 http://codereview.appspot.com/180045
2009-12-15gc: var x, ok = m[y]Russ Cox1-0/+34
Fixes issue 384. R=ken2 http://codereview.appspot.com/179061
2009-12-15Tweak test to work with both 6g and gccgo.Ian Lance Taylor1-3/+1
Pull the struct into a single line, since 6g reports the error on the last line of the struct definition and gccgo reports it on the first line. 6g: bug215.go:12: invalid recursive type A gccgo: bug215.go:12:6: error: invalid recursive type ‘A’ R=rsc http://codereview.appspot.com/180044
2009-12-10test/fixedbug: drop obsolete bug125, bug166Russ Cox2-28/+0
R=gri CC=golang-dev http://codereview.appspot.com/173044
2009-12-10make test/fixedbugs save for optional semisRobert Griesemer7-16/+12
R=rsc http://codereview.appspot.com/173045
2009-12-03gc: check for assignment to private fields during initializationRuss Cox3-0/+47
R=ken2 http://codereview.appspot.com/165055
2009-12-03gc: handle _ = <-c in select.Russ Cox2-0/+45
Fixes issue 238. R=ken2 http://codereview.appspot.com/163098
2009-12-03gc: recursive type errorRuss Cox1-0/+10
Fixes issue 245. R=ken2 http://codereview.appspot.com/164094
2009-12-03gc: better diagnosis of initialization loopsRuss Cox1-0/+21
Fixes bug 292. R=ken2 http://codereview.appspot.com/164093
2009-12-03gc: minor import grammar bug fixesRuss Cox3-0/+14
Fixes issue 364. R=ken2 http://codereview.appspot.com/164092
2009-12-02gc: function argument ordering bugRuss Cox1-0/+38
Fixes issue 370. R=ken2 http://codereview.appspot.com/163097
2009-11-24gc: correct type check for x, ok map assignmentRuss Cox1-0/+14
Fixes issue 288. R=ken2 http://codereview.appspot.com/157162
2009-11-15gc: five bug fixes, one better error.Russ Cox4-0/+66
* check for struct literal assignment to private fields. * record, fix crash involving parallel map assignment. * avoid infinite recursion in exportassignok. * make floating point bounds check precise. * avoid crash on invalid receiver. * add context to error about implicit assignment. Fixes issue 86. Fixes issue 88. Fixes issue 158. Fixes issue 174. Fixes issue 201. Fixes issue 204. R=ken2 http://codereview.appspot.com/154144
2009-11-08bug212, bug213.Russ Cox2-0/+28
R=ken http://go/go-review/1026032
2009-11-02cleaning up bug132Robert Griesemer1-69/+0
R=rsc http://go/go-review/1017012
2009-10-21Match gccgo error messages.Ian Lance Taylor1-2/+2
bug205.go:14:12: error: index must be integer bug205.go:15:12: error: index must be integer bug205.go:16:12: error: incompatible type for map index R=rsc DELTA=2 (0 added, 0 deleted, 2 changed) OCL=35957 CL=35960
2009-10-20address bug193 and add note to spec about it.Russ Cox1-0/+16
R=ken OCL=35920 CL=35920
2009-10-19bug196Russ Cox1-0/+51
R=ken OCL=35905 CL=35905
2009-10-19bug136Russ Cox1-0/+22
R=ken OCL=35902 CL=35904
2009-10-19bug169Russ Cox1-0/+10
R=ken OCL=35899 CL=35899
2009-10-196g bug fixes:Russ Cox1-0/+14
* bug211 * embedded interfaces with lowercase methods * var _ = f() at top level R=ken OCL=35898 CL=35898
2009-10-19bug190.Russ Cox1-0/+26
also eliminate float80 dregs R=ken OCL=35894 CL=35896
2009-10-09bug209Russ Cox1-0/+18
R=ken OCL=35546 CL=35546
2009-10-08add & fix bug208, from ken.Russ Cox2-0/+32
fix bug198. R=ken OCL=35504 CL=35507
2009-10-07add & fix bug207: rewritten if conditionRuss Cox1-0/+23
was discarding initialization work. R=ken OCL=35454 CL=35457
2009-09-29undo 35108 (disallow parens around type in struct literal).Russ Cox1-12/+0
allow parens around [...]int in struct literal. R=ken OCL=35112 CL=35130
2009-09-29disallow parens around type in struct literal syntax,Russ Cox1-0/+12
per discussion with gri. R=ken OCL=35108 CL=35108
2009-09-28disallow interface { x, y() }Russ Cox1-1/+4
R=ken OCL=35042 CL=35044
2009-09-17unused importsRuss Cox10-5/+14
R=r OCL=34731 CL=34731