summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
2010-02-16gc: test & fix handling of very long string constantsRuss Cox1-0/+20070
R=ken2 CC=golang-dev http://codereview.appspot.com/207106
2010-02-12gc: diagnose invalid array boundsRuss Cox2-0/+31
Fixes issue 587. R=ken2 CC=golang-dev http://codereview.appspot.com/207085
2010-02-10arm: take out fixedbugs/bug120 - gives inconsistent errorsRuss Cox2-6/+0
R=kaib CC=golang-dev http://codereview.appspot.com/207062
2010-02-10arm: fix build on androidRuss Cox4-16/+162
R=kaib CC=golang-dev http://codereview.appspot.com/206059
2010-02-10clean new garbage collector benchmark binariesRuss Cox1-1/+1
TBR=agl1 CC=golang-dev http://codereview.appspot.com/207055
2010-02-09fix garbage benchmark Makefile.Russ Cox1-4/+4
apparently some versions of GNU make cannot handle the %: %.$O rule. i don't understand why and don't care enough to find out. R=agl1 CC=golang-dev http://codereview.appspot.com/206055
2010-02-09add simple garbage collector benchmarks to dashboardRuss Cox4-13/+291
R=agl1 CC=golang-dev http://codereview.appspot.com/207043
2010-02-08Struct field ambiguity test.Ian Lance Taylor1-0/+28
gccgo gets this wrong at the moment. R=rsc CC=golang-dev http://codereview.appspot.com/205044
2010-02-08runtime: instrument malloc + garbage collector.Russ Cox1-0/+201
add simple garbage collection benchmark. R=iant CC=golang-dev http://codereview.appspot.com/204053
2010-02-05Match gccgo error message.Ian Lance Taylor1-1/+1
bug251.go:11:2: error: invalid recursive interface R=rsc CC=golang-dev http://codereview.appspot.com/204052
2010-02-05Match gccgo error messages.Ian Lance Taylor1-2/+2
ddd1.go:16:10: error: argument 1 has incompatible type ddd1.go:17:10: error: argument 1 has incompatible type ddd1.go:15:10: error: floating point constant truncated to integer R=rsc CC=golang-dev http://codereview.appspot.com/204048
2010-02-04Match gccgo error messages.Ian Lance Taylor8-13/+13
bug121.go:12:3: error: name list not allowed in interface type bug121.go:16:2: error: expected signature or type name semi1.go:10:76: error: unexpected semicolon or newline before ‘{’ semi1.go:10:5: error: reference to undefined name ‘x’ semi1.go:10:8: error: reference to undefined name ‘y’ semi1.go:12:3: error: reference to undefined name ‘z’ semi2.go:10:79: error: unexpected semicolon or newline before ‘{’ semi2.go:10:9: error: reference to undefined name ‘x’ semi3.go:10:79: error: unexpected semicolon or newline before ‘{’ semi3.go:10:6: error: reference to undefined name ‘x’ semi3.go:10:9: error: reference to undefined name ‘y’ semi3.go:10:12: error: reference to undefined name ‘z’ semi3.go:12:3: error: reference to undefined name ‘z’ semi4.go:11:2: error: unexpected semicolon or newline before ‘{’ semi4.go:10:6: error: reference to undefined name ‘x’ semi4.go:12:3: error: reference to undefined name ‘z’ semi5.go:10:1: error: unexpected semicolon or newline before ‘{’ semi7.go:11:2: error: unexpected semicolon or newline before ‘else’ semi7.go:10:5: error: reference to undefined name ‘x’ slice.go:9:11: error: missing lower bound in slice expression slice.go:9:9: error: reference to undefined name ‘y’ slice.go:9:12: error: reference to undefined name ‘z’ R=rsc CC=golang-dev http://codereview.appspot.com/201061
2010-02-03finalizers; merge package malloc into package runtimeRuss Cox6-124/+184
R=r, cw CC=golang-dev http://codereview.appspot.com/198085
2010-02-02bug252: make ... vs ...T crossing an error, at least for nowRuss Cox1-0/+15
R=r CC=golang-dev http://codereview.appspot.com/199066
2010-02-01gc: bug250, bug251 - recursive interface typesRuss Cox3-2/+42
Fixes issue 287. R=ken2 CC=golang-dev http://codereview.appspot.com/199057
2010-02-01Match gccgo error messages.Ian Lance Taylor1-2/+2
bug249.go:10:5: error: incompatible type in initialization bug249.go:26:5: error: incompatible type in initialization R=rsc CC=golang-dev http://codereview.appspot.com/198058
2010-02-01gc: bug246Russ Cox2-9/+8
R=ken2 CC=golang-dev http://codereview.appspot.com/198057
2010-02-01gc: bug242Russ Cox2-5/+0
R=ken2 CC=golang-dev http://codereview.appspot.com/198053
2010-02-01Match gccgo error messages.Ian Lance Taylor1-2/+2
import1.go:12:8: error: redefinition of ‘bufio’ import1.go:11:8: note: previous definition of ‘bufio’ was here import1.go:16:2: error: redefinition of ‘fmt’ import1.go:15:2: note: previous definition of ‘fmt’ was here import1.go:11:8: error: imported and not used: bufio R=rsc CC=golang-dev http://codereview.appspot.com/194165
2010-02-01Fix for gccgo, which uses a package prefix.Ian Lance Taylor1-3/+3
R=rsc CC=golang-dev http://codereview.appspot.com/198046
2010-02-01Match gccgo error messages.Ian Lance Taylor1-12/+12
I have to admit that "cannot use type p.T as type p.T" is a bit weak. 8g gives a similar error ("cannot use v1 (type p.T) as type p.T in assignment"). bug3.go:37:5: error: incompatible type in initialization (incompatible type for method ‘M’ (different parameter types)) bug3.go:38:5: error: incompatible type in initialization (incompatible type for method ‘M’ (different parameter types)) bug3.go:43:5: error: incompatible type in initialization (incompatible type for method ‘M’ (different parameter types)) bug3.go:44:5: error: incompatible type in initialization (incompatible type for method ‘M’ (different parameter types)) bug3.go:49:5: error: incompatible types in assignment (cannot use type p.T as type p.T) bug3.go:50:5: error: incompatible types in assignment (cannot use type p.T as type p.T) bug3.go:55:5: error: incompatible types in assignment (incompatible type for method ‘M’ (different parameter types)) bug3.go:56:5: error: incompatible types in assignment (incompatible type for method ‘M’ (different parameter types)) bug3.go:57:6: error: incompatible types in assignment (incompatible type for method ‘M’ (different parameter types)) bug3.go:58:6: error: incompatible types in assignment (incompatible type for method ‘M’ (different parameter types)) bug3.go:59:5: error: incompatible types in assignment (incompatible type for method ‘M’ (different parameter types)) bug3.go:60:5: error: incompatible types in assignment (incompatible type for method ‘M’ (different parameter types)) bug3.go:61:6: error: incompatible types in assignment (incompatible type for method ‘M’ (different parameter types)) bug3.go:62:6: error: incompatible types in assignment (incompatible type for method ‘M’ (different parameter types)) R=rsc CC=golang-dev http://codereview.appspot.com/199044
2010-02-01gc: final ...T bug for the dayRuss Cox1-4/+0
R=ken2 CC=golang-dev http://codereview.appspot.com/199046
2010-02-02Change type of Printf's args to ... interface{}Rob Pike2-15/+11
R=rsc CC=golang-dev http://codereview.appspot.com/197043
2010-02-01nacl: fix build, finally fixed 8l convergence bugRuss Cox2-3/+76
R=r CC=golang-dev http://codereview.appspot.com/199042
2010-02-01gc: ... T corner casesRuss Cox2-1/+67
more to come, but should suffice for Printf work. R=ken2 CC=golang-dev http://codereview.appspot.com/197044
2010-02-01gc: add ... T, rework plain ...Russ Cox4-0/+173
No longer a distinct type; now a property of func types. R=ken2 CC=golang-dev http://codereview.appspot.com/197042
2010-01-31Fix expected string.Ian Lance Taylor1-1/+12
I got it wrong because gccgo was incorrectly failing to clear the value when a nonblocking receive did not receive anything. R=rsc CC=golang-dev http://codereview.appspot.com/194161
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-30New gccgo error message; match both compilers with one string.Ian Lance Taylor1-1/+1
8g: runtime.go:19: cannot refer to unexported name runtime.printbool gccgo: runtime.go:19:10: error: invalid reference to unexported identifier ‘runtime.printbool’ R=rsc CC=golang-dev http://codereview.appspot.com/194157
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-28gc: tweak error messages, avoid internalization settings in bisonRuss Cox8-8/+8
R=r CC=golang-dev http://codereview.appspot.com/194129
2010-01-27gc: implement defer print/println/panic/paniclnRuss Cox2-0/+18
Fixes issue 219. R=ken2, r CC=golang-dev http://codereview.appspot.com/194097
2010-01-26gc: improved syntax errorsRuss Cox13-1/+146
* example-based syntax errors (go.errors) * enable bison's more specific errors and translate grammar token names into tokens like ++ * test cases R=ken2, r, ken3 CC=golang-dev http://codereview.appspot.com/194085
2010-01-26gc: fix chan <- chan precedence.Russ Cox5-46/+135
also allow func() func(). R=ken2 CC=golang-dev http://codereview.appspot.com/194078
2010-01-25channel types parsed not according to spec by 6gRobert Griesemer2-0/+46
R=r, rsc CC=golang-dev http://codereview.appspot.com/193101
2010-01-25runtime, type switch: eliminate package global name space assumptionRuss Cox7-1/+220
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-19Add explicit locking.Ian Lance Taylor1-7/+29
Since gcco runs goroutines in independent threads, it needs locking for the global variables. This shows up when I use ordinary increments rather than locked increments for var++. R=ken2, ken3 CC=golang-dev http://codereview.appspot.com/190074
2010-01-19gc: const debug bool = falseRuss Cox1-0/+3
R=ken2 CC=golang-dev http://codereview.appspot.com/186232
2010-01-18add bug246 (issue 492)Russ Cox2-0/+23
R=r CC=golang-dev http://codereview.appspot.com/186216
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-15Test order of evaluation in tuple assignments.Ian Lance Taylor2-0/+115
gccgo currently passes this test; 8g currently does not. I think I counted everything out right. R=rsc CC=golang-dev http://codereview.appspot.com/186165
2010-01-15Test evaluation of range variables.Ian Lance Taylor1-0/+34
R=rsc CC=golang-dev http://codereview.appspot.com/189088
2010-01-08gc: bug238Russ Cox3-34/+19
Fixes issue 471. R=ken2 CC=golang-dev http://codereview.appspot.com/181184
2010-01-07gc: bug219, bug239, bug240Russ Cox3-1/+4
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