Age | Commit message (Collapse) | Author | Files | Lines |
|
the comment talked about printing, but now
t->recur is only used for typehash.
in typehash it is important to compute different
hashes for the different basic types.
add test that makes sure an interface { X() int8 }
cannot be used as interface { X() int64 }
R=ken
OCL=17396
CL=17396
|
|
R=rsc
DELTA=328 (158 added, 170 deleted, 0 changed)
OCL=17353
CL=17359
|
|
so that run's count is correct
R=iant,r
DELTA=20 (12 added, 0 deleted, 8 changed)
OCL=17329
CL=17342
|
|
R=ken
OCL=17320
CL=17320
|
|
R=ken
OCL=17307
CL=17307
|
|
R=ken
OCL=17253
CL=17253
|
|
R=r
OCL=17247
CL=17247
|
|
R=ken
OCL=17208
CL=17208
|
|
R=ken
OCL=17169
CL=17169
|
|
R=ken
OCL=17141
CL=17143
|
|
R=rsc
DELTA=12 (12 added, 0 deleted, 0 changed)
OCL=16989
CL=16998
|
|
(no effect on the test, but now parseable)
R=r
OCL=16936
CL=16936
|
|
R=rsc
DELTA=2 (0 added, 2 deleted, 0 changed)
OCL=16927
CL=16927
|
|
R=gri
DELTA=8 (8 added, 0 deleted, 0 changed)
OCL=16765
CL=16767
|
|
- pointer to interface cannot have methods
- record type names for better runtime error
R=r,ken
DELTA=85 (80 added, 0 deleted, 5 changed)
OCL=16658
CL=16722
|
|
R=gri,r
OCL=16648
CL=16652
|
|
R=r
DELTA=18 (18 added, 0 deleted, 0 changed)
OCL=16639
CL=16647
|
|
* 1. all statements and declarations are terminated by semicolons
* 2. semicolons can be omitted at top level.
* 3. semicolons can be omitted before and after the closing ) or }
* on a list of statements or declarations.
/home/rsc/bin/addsemi and then diff+tweak.
R=r,gri
OCL=16620
CL=16643
|
|
R=rsc
DELTA=7 (0 added, 0 deleted, 7 changed)
OCL=16600
CL=16630
|
|
type T struct {
next *T
}
and
type T *struct {
next T
}
are valid without needing forward declarations.
add "type T struct" syntax for forward struct declarations.
add "type T interface" syntax, but commented out
(need to fix semicolons first)
R=ken
DELTA=452 (259 added, 115 deleted, 78 changed)
OCL=16580
CL=16584
|
|
R=gri
DELTA=4 (0 added, 3 deleted, 1 changed)
OCL=16565
CL=16579
|
|
type definition.
R=r
DELTA=3 (0 added, 2 deleted, 1 changed)
OCL=16537
CL=16545
|
|
R=rsc
DELTA=87 (37 added, 50 deleted, 0 changed)
OCL=16498
CL=16507
|
|
R=r
DELTA=7 (2 added, 2 deleted, 3 changed)
OCL=16495
CL=16499
|
|
R=ken,r
DELTA=86 (72 added, 9 deleted, 5 changed)
OCL=16488
CL=16488
|
|
R=r
DELTA=43 (43 added, 0 deleted, 0 changed)
OCL=16468
CL=16475
|
|
package flag
export type flag.Flag struct { name flag.string; usage flag.string; \
value flag.Value; next *flag.Flag }
type flag.string string
type flag.Value interface { AsBool () (? *flag.BoolValue); \
AsInt () (? *flag.IntValue); AsString () (? *flag.StringValue); \
IsBool () (? flag.bool); IsInt () (? flag.bool); IsString () (? flag.bool); \
Str () (? flag.string); ValidValue (str flag.string) (? flag.bool) }
type flag.BoolValue struct { val flag.bool; p *flag.bool }
type flag.IntValue struct { val flag.int64; p *flag.int64 }
type flag.StringValue struct { val flag.string; p *flag.string }
type flag.bool bool
func (e *flag.StringValue) AsBool () (? *flag.BoolValue)
func (e *flag.StringValue) AsInt () (? *flag.IntValue)
...
the \ continuations are for this message, not real.
changed delimiter for import from (( )) to $$ $$.
replaced mksys.bash with mksys.c
changed sys.go to use leading export,
fake package name is now SYS not foop
don't always require ; on forward func decls
R=ken,r
DELTA=1827 (446 added, 1083 deleted, 298 changed)
OCL=16433
CL=16463
|
|
invalid. The receiver type is not permitted to be a pointer
type. Since 6g currently accepts it, this moves the test case
back to the bugs directory.
R=gri
DELTA=22 (11 added, 11 deleted, 0 changed)
OCL=16284
CL=16336
|
|
R=r
OCL=16250
CL=16250
|
|
R=r
DELTA=41 (41 added, 0 deleted, 0 changed)
OCL=16212
CL=16223
|
|
R=rsc
OCL=16213
CL=16213
|
|
update golden
add the "goroutines" test
R=iant
DELTA=74 (36 added, 23 deleted, 15 changed)
OCL=16194
CL=16206
|
|
Currently 6g seems to resolve them to type "double".
R=ken,r
DELTA=30 (30 added, 0 deleted, 0 changed)
OCL=16132
CL=16152
|
|
R=r
DELTA=6 (0 added, 0 deleted, 6 changed)
OCL=16110
CL=16114
|
|
ideally cause the compiler to give an error. Right now 6g
warns about large shifts but does not give an error. This CL
removes the out of range shift from shift.go, so that it will
work with gccgo, and adds a test case in bugs/ to be fixed at
a later date.
R=ken,r
DELTA=23 (9 added, 14 deleted, 0 changed)
OCL=16085
CL=16088
|
|
R=r
OCL=15998
CL=16004
|
|
R=ken
DELTA=68 (19 added, 0 deleted, 49 changed)
OCL=15966
CL=15969
|
|
package name in the scope.
R=r
DELTA=12 (12 added, 0 deleted, 0 changed)
OCL=15913
CL=15926
|
|
R=r
DELTA=8 (8 added, 0 deleted, 0 changed)
OCL=15893
CL=15898
|
|
(should be in the scope chain like any other identifier)
R=r
DELTA=16 (16 added, 0 deleted, 0 changed)
OCL=15884
CL=15884
|
|
constant without an explicit conversion. I think that is a
bug. This adds a test case for it.
Also, change errchk to include the string BUG in error
messages, so that failures are included in the count reported
by the run shell script.
R=r,ken
DELTA=11 (7 added, 0 deleted, 4 changed)
OCL=15857
CL=15880
|
|
to string convert. if the byte array has length 0,
the computation of &a[0] throws an index bounds error.
for fixed size arrays, this ends up invoking arrays2d
unnecessarily, but it works.
R=ken
DELTA=304 (44 added, 28 deleted, 232 changed)
OCL=15674
CL=15678
|
|
R=rsc
DELTA=51 (50 added, 0 deleted, 1 changed)
OCL=15665
CL=15667
|
|
R=r
DELTA=348 (338 added, 0 deleted, 10 changed)
OCL=15648
CL=15660
|
|
R=r
DELTA=9 (4 added, 3 deleted, 2 changed)
OCL=15655
CL=15655
|
|
- do not print tracebacks if $GOTRACEBACK=0
- set GOTRACEBACK=0 during tests
- filter out pc numbers in errors
R=r
DELTA=70 (22 added, 30 deleted, 18 changed)
OCL=15618
CL=15642
|
|
export.c:
- only expose explicitly exported types to importer
- fix behind your back
go.h:
- add deep() prototype (fixes 64-bit linux crash on time.go)
go.y:
- add a new syntax error case
walk.c:
- allow a,b = f() where f is func ptr (fixes bug088)
R=ken
OCL=15617
CL=15630
|
|
R=r
OCL=15599
CL=15599
|
|
R=ken
OCL=15598
CL=15598
|
|
R=r
OCL=15587
CL=15587
|