summaryrefslogtreecommitdiff
path: root/test/fixedbugs
AgeCommit message (Collapse)AuthorFilesLines
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
2009-08-07bug185 - return b,a from func() (a,b int)Russ Cox1-0/+33
R=ken OCL=32900 CL=32900
2009-08-07bug184 - assignment compatibility in unpacked multireturnRuss Cox1-0/+51
R=ken OCL=32890 CL=32894
2009-08-07bug183 - embedded vs non-embedded struct field in eqtypeRuss Cox1-0/+25
R=ken OCL=32888 CL=32888
2009-08-07bug182 - compiler crashRuss Cox1-0/+13
R=ken OCL=32887 CL=32887
2009-08-07bug181 - type T *struct { T } is an invalid embedded typeRuss Cox1-0/+11
R=ken OCL=32886 CL=32886
2009-08-05delay := processingRuss Cox3-4/+4
R=ken OCL=32772 CL=32772
2009-08-04get function calls out of the way beforeRuss Cox1-0/+17
allocating registers in shift and div. fix behavior when res == a reserved register. R=ken OCL=32765 CL=32767
2009-08-03more 6g reorg; checkpoint.Russ Cox7-20/+11
typecheck.c is now responsible for all type checking except for assignment and function argument "..." R=ken OCL=32661 CL=32667
2009-07-30delete some code from walkexpr that is nowRuss Cox2-3/+3
handled by typecheck. second switch is gone move floating point minus into back end R=ken OCL=32558 CL=32558
2009-07-30use errchk in more places.Russ Cox18-21/+21
let errchk exit 0 even if it has reported a BUG. it echoed BUG and that's all that matters. R=r DELTA=143 (1 added, 89 deleted, 53 changed) OCL=32533 CL=32542
2009-07-29bug136 unfixedRuss Cox1-15/+0
R=austin DELTA=35 (21 added, 14 deleted, 0 changed) OCL=32469 CL=32474
2009-07-29break and continue fixesRuss Cox3-0/+66
labeled break/continue was using first loop with any label, not first loop with the right label. R=ken OCL=32453 CL=32458
2009-07-28bug177: anonymous struct fields in reflectRuss Cox1-0/+28
(reported by iant) R=r DELTA=50 (32 added, 12 deleted, 6 changed) OCL=32263 CL=32385
2009-07-27constant keys for array initializersRuss Cox1-0/+14
R=ken OCL=32261 CL=32261
2009-07-27move bug148, already fixed, to fixedbugsRuss Cox1-0/+39
R=ken OCL=32257 CL=32257
2009-07-27bug170; fix test for bug175Russ Cox1-0/+13
R=ken OCL=32255 CL=32255
2009-07-27multiple return in := bugRuss Cox1-0/+14
R=ken OCL=32253 CL=32253
2009-07-27print(1<<x)Russ Cox1-0/+12
R=ken OCL=32252 CL=32252
2009-07-27named string type bugsRuss Cox1-0/+21
R=ken OCL=32244 CL=32244
2009-07-27catchRuss Cox1-0/+12
a := true; a |= a; in the front end. R=ken OCL=32240 CL=32243