- 10 Sep, 2010 3 commits
-
-
Ian Lance Taylor authored
With the recursive descent parser that gccgo uses, I think that it doesn't make sense to try to match a statement where a statement is not expected. If the construct is not a statement, you will just get bizarre error messages. topexpr.go:9:1: error: expected declaration topexpr.go:14:1: error: expected declaration topexpr.go:19:1: error: expected declaration R=rsc, r2 CC=golang-dev https://golang.org/cl/2175041
-
Alex Brainman authored
Fixes #1092. R=golang-dev, r2 CC=golang-dev https://golang.org/cl/2121048
-
Rob Pike authored
Awaiting the lower-bound change before checkin. Fixes #1067. R=rsc, iant, gri CC=golang-dev https://golang.org/cl/2105043
-
- 09 Sep, 2010 17 commits
-
-
Robert Griesemer authored
R=rsc, ken2 CC=golang-dev https://golang.org/cl/2118050
-
Russ Cox authored
and other begin and end of function code R=ken2 CC=golang-dev https://golang.org/cl/2158044
-
Ian Lance Taylor authored
tmp.go:4:20: error: invalid NUL byte tmp.go:6:24: error: invalid NUL byte tmp.go:8:15: error: invalid NUL byte tmp.go:10:21: error: invalid NUL byte tmp.go:12:22: error: invalid NUL byte tmp.go:14:21: error: invalid UTF-8 encoding tmp.go:14:22: error: invalid UTF-8 encoding tmp.go:16:25: error: invalid UTF-8 encoding tmp.go:18:15: error: invalid UTF-8 encoding tmp.go:18:16: error: invalid UTF-8 encoding tmp.go:20:21: error: invalid UTF-8 encoding tmp.go:20:22: error: invalid NUL byte tmp.go:20:23: error: invalid NUL byte tmp.go:23:6: error: invalid UTF-8 encoding tmp.go:23:7: error: invalid UTF-8 encoding tmp.go:25:22: error: invalid UTF-8 encoding R=rsc CC=golang-dev https://golang.org/cl/2151046
-
Nigel Tao authored
image: introduce Intersect and Union rectangle methods. R=r, rog, nigeltao CC=golang-dev https://golang.org/cl/2115043
-
Nigel Tao authored
exp/draw/x11: allow clean shutdown when the user closes the window. R=r CC=golang-dev https://golang.org/cl/2134045
-
Joe Poirier authored
R=rsc, brainman, vcc CC=golang-dev https://golang.org/cl/2165044
-
Scott Lawrence authored
R=rsc CC=golang-dev https://golang.org/cl/2145043
-
Ivan Krasin authored
R=rsc, imkrasin, r CC=golang-dev https://golang.org/cl/1969042
-
Rob Pike authored
Suggested by paulzhol@gmail.com R=rsc CC=golang-dev https://golang.org/cl/2122049
-
Robert Griesemer authored
Fixes #1089. R=rsc CC=golang-dev https://golang.org/cl/2172043
-
Rob Pike authored
Need to correct for deferproc's extra 2 words of stack or in some cases (such as memory profiling) traceback can cause a crash. Also bulletproof the closure test. R=rsc CC=golang-dev https://golang.org/cl/2138047
-
Ian Lance Taylor authored
named1.go:40:11: error: argument 1 has incompatible type (cannot use type bool as type Bool) named1.go:41:11: error: argument 1 has incompatible type (cannot use type bool as type Bool) named1.go:43:7: error: incompatible types in assignment (cannot use type bool as type Bool) named1.go:44:12: error: argument 4 has incompatible type (cannot use type Bool as type bool) named1.go:46:4: error: incompatible types in assignment (cannot use type bool as type Bool) named1.go:48:11: error: argument 1 has incompatible type (cannot use type bool as type Bool) named1.go:50:7: error: incompatible types in assignment (cannot use type bool as type Bool) named1.go:54:7: error: incompatible types in assignment (cannot use type bool as type Bool) named1.go:60:7: error: incompatible types in assignment (cannot use type bool as type Bool) named1.go:63:9: error: argument 1 has incompatible type (cannot use type bool as type Bool) named1.go:64:4: error: incompatible types in assignment (cannot use type bool as type Bool) named1.go:67:17: error: invalid type conversion (cannot use type Slice as type String) R=rsc CC=golang-dev https://golang.org/cl/2146044
-
Ian Lance Taylor authored
explicit.go:36:4: error: incompatible types in assignment (need explicit conversion) explicit.go:41:4: error: incompatible types in assignment (type has no methods) explicit.go:42:4: error: incompatible types in assignment (need explicit conversion) explicit.go:45:5: error: incompatible types in assignment (need explicit conversion; missing method ‘N’) explicit.go:48:9: error: invalid type conversion (need explicit conversion; missing method ‘N’) explicit.go:51:4: error: incompatible types in assignment explicit.go:51:7: error: invalid type conversion (need explicit conversion) explicit.go:57:10: error: impossible type assertion: type does not implement interface (type has no methods) explicit.go:62:10: error: impossible type assertion: type does not implement interface (incompatible type for method ‘M’ (different number of parameters)) explicit.go:67:5: error: incompatible type in initialization (type has no methods) explicit.go:68:5: error: incompatible type in initialization (incompatible type for method ‘M’ (different number of parameters)) explicit.go:70:11: error: invalid type conversion (type has no methods) explicit.go:71:11: error: invalid type conversion (incompatible type for method ‘M’ (different number of parameters)) R=rsc CC=golang-dev https://golang.org/cl/2139044
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/2128047
-
Joe Poirier authored
Use OS rather than compiler specific flag the same way that __FreeBSD__, __APPLE__, __OpenBSD__, and __linux__ are used. _WIN32 is defined by GCC (and others) on windows for Win32 and Win64 applications. _WIN32 is set by default for several other windows based compilers: DMC, MSVC, Intel, Watcom, LCC. Although the change is for consistency, it allows the Go tools to be compiled with non-Mingw GCC distributions and non-GCC compilers that support the GCC extensions. R=rsc, brainman, vcc CC=golang-dev https://golang.org/cl/2168043
-
Scott Lawrence authored
Fixes #382. R=gri, cw, r, rsc CC=golang-dev https://golang.org/cl/1957045
-
Alex Brainman authored
R=rsc, r2 CC=golang-dev https://golang.org/cl/2135045
-
- 08 Sep, 2010 8 commits
-
-
Andrew Gerrand authored
Fixes #1046. R=rsc, iant CC=golang-dev https://golang.org/cl/2102043
-
Andrew Gerrand authored
Fixes #1088. R=gri, iant CC=golang-dev https://golang.org/cl/2157043
-
Ian Lance Taylor authored
bug299.go:16:2: error: expected field name bug299.go:17:2: error: expected field name bug299.go:18:3: error: expected field name bug299.go:25:9: error: expected receiver name or type bug299.go:26:10: error: expected receiver name or type bug299.go:27:9: error: expected receiver name or type R=rsc CC=golang-dev https://golang.org/cl/2150044
-
Ian Lance Taylor authored
bug298.go:10:2: error: expected declaration bug298.go:10:25: error: expected ‘;’ or newline after top level declaration bug298.go:10:25: error: expected declaration R=rsc CC=golang-dev https://golang.org/cl/2156046
-
Ian Lance Taylor authored
R=rsc CC=golang-dev https://golang.org/cl/2156045
-
Jukka-Pekka Kekkonen authored
Fixes #1080. R=rsc CC=golang-dev https://golang.org/cl/2158043
-
Russ Cox authored
R=ken2 CC=golang-dev https://golang.org/cl/2121045
-
Robert Griesemer authored
- in prep. for some restructuring to be able to better deal with very large file systems - moved a utility function into index.go - no functionality changes, only code reorg. R=r, adg1 CC=golang-dev https://golang.org/cl/2098044
-
- 07 Sep, 2010 12 commits
-
-
Robert Griesemer authored
Also: Added examples for slices with omitted index expressions. R=r, rsc CC=golang-dev https://golang.org/cl/2106047
-
Scott Lawrence authored
See also https://golang.org/cl/1957045/ R=gri, rsc, r CC=golang-dev https://golang.org/cl/2163042
-
Russ Cox authored
R=r, gri1 CC=golang-dev https://golang.org/cl/2119044
-
Jukka-Pekka Kekkonen authored
Fix building on GNU Make 3.82 (caused by mixed implicit and normal rules). The issue was introduced in changeset 6110:ca0beac3b543. R=rsc CC=golang-dev https://golang.org/cl/2100044
-
Robert Griesemer authored
R=iant CC=golang-dev https://golang.org/cl/2128045
-
Russ Cox authored
TBR=r CC=golang-dev https://golang.org/cl/2140043
-
Russ Cox authored
Old code was using recursion to traverse object graph. New code uses an explicit stack, cutting the per-pointer footprint to two words during the recursion and avoiding the standard allocator and stack splitting code. in test/garbage: Reduces parser runtime by 2-3% Reduces Peano runtime by 40% Increases tree runtime by 4-5% R=r CC=golang-dev https://golang.org/cl/2150042
-
Russ Cox authored
R=gri CC=golang-dev https://golang.org/cl/2144042
-
Russ Cox authored
Fix suggested by Albert Strasheim. R=adg CC=golang-dev https://golang.org/cl/2154041
-
Nigel Tao authored
R=rsc CC=golang-dev https://golang.org/cl/2166042
-
Brad Fitzpatrick authored
We were using the 64-bit struct with the old 32-bit system calls. http://code.google.com/p/go/issues/detail?id=1083 This also fixes up mksyscall.sh to generate gofmt-compliant code. R=rsc CC=golang-dev, kaib https://golang.org/cl/2148042
-
Nigel Tao authored
R=r CC=golang-dev https://golang.org/cl/2138045
-