summaryrefslogtreecommitdiff
path: root/test/fixedbugs
AgeCommit message (Collapse)AuthorFilesLines
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
2009-09-15last round: non-package codeRuss Cox15-15/+31
R=r DELTA=127 (38 added, 3 deleted, 86 changed) OCL=34640 CL=34650
2009-09-14fix "declared and not used" in tests;Russ Cox34-13/+42
also template/template.go, missed last time. R=r DELTA=116 (61 added, 10 deleted, 45 changed) OCL=34620 CL=34622
2009-09-10fix bug206.Russ Cox1-0/+48
delay calls to savex as long as possible. R=ken OCL=34535 CL=34546
2009-09-09check type of string/map/array index expressionsRuss Cox1-0/+18
R=ken OCL=34478 CL=34480
2009-09-09defining package block names must overrideRuss Cox2-2/+33
universe block names. BUG=2097244 R=ken OCL=34295 CL=34473
2009-09-08write-only variable _Russ Cox1-1/+1
R=ken OCL=34465 CL=34470
2009-09-03corrected bug187; dropped on the floor somehowRuss Cox1-0/+23
R=austin DELTA=23 (23 added, 0 deleted, 0 changed) OCL=34340 CL=34346
2009-09-03fix range on invalid utf8 bugRuss Cox1-0/+24
R=r DELTA=42 (21 added, 20 deleted, 1 changed) OCL=34328 CL=34333
2009-09-02fix one bug involving [...] constructors.Russ Cox2-0/+36
added iant's bug202 (in main code) and ken's bug203 (in init function). bug187 remains at large. R=ken OCL=34293 CL=34293
2009-09-02the last bug involving type hashesRuss Cox1-0/+36
R=ken OCL=34244 CL=34249
2009-09-01type switch bug involving function parameter namesRuss Cox1-0/+19
R=ken OCL=34232 CL=34232
2009-09-01catch package net import "net" for releaseRuss Cox1-1/+1
R=ken OCL=34205 CL=34207
2009-08-31Match gccgo error messages.Ian Lance Taylor1-6/+6
bug197.go:10:5: error: incompatible type in initialization bug197.go:11:5: error: incompatible type in initialization bug197.go:12:5: error: incompatible type in initialization bug197.go:13:5: error: incompatible type in initialization bug197.go:20:13: error: incompatible types in binary expression bug197.go:21:27: error: incompatible types in binary expression R=rsc DELTA=6 (0 added, 0 deleted, 6 changed) OCL=34135 CL=34177
2009-08-30array index bugRuss Cox1-0/+25
x[i] x not addressable, i >= UINF double evaluated i second eval killed live registers manifested as gob instability R=ken OCL=34097 CL=34099
2009-08-24bug132Russ Cox1-0/+80
R=ken OCL=33792 CL=33803
2009-08-24Match gccgo error messages.Ian Lance Taylor1-2/+2
bug192.go:11:5: error: redefinition of ‘fmt’ bug192.go:9:8: note: previous definition of ‘fmt’ was here R=r DELTA=2 (0 added, 0 deleted, 2 changed) OCL=33780 CL=33790
2009-08-24bug197Russ Cox1-0/+33
R=ken OCL=33765 CL=33765
2009-08-24bug189Russ Cox1-0/+17
R=ken OCL=33745 CL=33745
2009-08-21more interface embedding testsRuss Cox1-0/+15
6g's error for I4 is not quite accurate (it calls I4 a non-interface) but also not a crash or infinite loop. R=iant DELTA=15 (15 added, 0 deleted, 0 changed) OCL=33701 CL=33709
2009-08-21fix bug195Russ Cox1-0/+12
R=ken OCL=33700 CL=33700
2009-08-19add bug to capture double declaration of name in file and package blockRob Pike1-0/+11
R=rsc DELTA=12 (12 added, 0 deleted, 0 changed) OCL=33554 CL=33563
2009-08-19fix import dot bugRuss Cox3-0/+31
R=ken OCL=33526 CL=33528
2009-08-17Match gccgo error messages.Ian Lance Taylor2-2/+2
bug165.go:13:6: error: invalid recursive type 'S' This is a different line from the 6g error message, which is "invalid map key type". I accomodated both compilers by merging the line. bug188.go:13:2: error: unexpected reference to package I made the error message less specific, which I think is fine here. R=rsc DELTA=2 (0 added, 0 deleted, 2 changed) OCL=33398 CL=33426
2009-08-17fix up some irregular indentationRob Pike22-82/+84
R=rsc OCL=33382 CL=33391
2009-08-13Recognize gccgo error messages.Ian Lance Taylor12-15/+15
bug039.go:6:7: error: redefinition of 'x' bug039.go:5:1: note: previous definition of 'x' was here bug049.go:6:9: error: incompatible types in binary expression bug062.go:6:7: error: incompatible type in initialization bug086.go:5:1: error: control reaches end of non-void function bug103.go:8:2: error: variable has no type bug121.go:9:2: error: expected signature or type name bug131.go:7:7: error: incompatible type in initialization bug165.go:10:8: error: expected complete type bug171.go:5:1: error: control reaches end of non-void function bug171.go:6:1: error: control reaches end of non-void function bug172.go:7:6: error: expected integer type bug182.go:7:2: error: if statement expects boolean expression bug183.go:10:5: error: incompatible types in assignment bug183.go:19:5: error: incompatible types in assignment R=rsc DELTA=15 (0 added, 0 deleted, 15 changed) OCL=33168 CL=33175
2009-08-12bug188 - sort(x)Russ Cox2-2/+16
R=ken OCL=33123 CL=33123
2009-08-12delete forward type declarationsRuss Cox1-5/+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 Cox3-54/+2
mostly removing forward declarations. R=r DELTA=138 (2 added, 127 deleted, 9 changed) OCL=33068 CL=33099
2009-08-11bug186 - f(iota)Russ Cox1-0/+18
R=ken OCL=33051 CL=33051
2009-08-07bug159Russ Cox1-0/+39
R=ken OCL=32902 CL=32914