]>
Cypherpunks repositories - gostls13.git/log
Ken Thompson [Thu, 16 Oct 2008 00:15:47 +0000 (17:15 -0700)]
basic types/interfaces test
R=r
OCL=17247
CL=17247
Robert Griesemer [Thu, 16 Oct 2008 00:13:00 +0000 (17:13 -0700)]
- updated makefile for gccgo
R=r
OCL=17243
CL=17245
Rob Pike [Thu, 16 Oct 2008 00:11:51 +0000 (17:11 -0700)]
reflection type structure. no parsing etc. yet.
main is a simple tester outside the Makefile.
R=rsc
DELTA=455 (455 added, 0 deleted, 0 changed)
OCL=17235
CL=17242
Russ Cox [Thu, 16 Oct 2008 00:09:42 +0000 (17:09 -0700)]
error about & at top level until it is safe
R=ken
OCL=17241
CL=17241
Ken Thompson [Thu, 16 Oct 2008 00:08:10 +0000 (17:08 -0700)]
interface on arbitrary types
global signatures for basic types
R=r
OCL=17238
CL=17240
Robert Griesemer [Thu, 16 Oct 2008 00:06:28 +0000 (17:06 -0700)]
snapshot of pretty printer:
- almost there, receivers, labels, composites, comments are not yet printed
- runs through 18KLOC of Go code and prints it again
R=r
OCL=17237
CL=17237
Rob Pike [Wed, 15 Oct 2008 18:49:34 +0000 (11:49 -0700)]
bug is fixed
R=ken
OCL=17208
CL=17208
Robert Griesemer [Wed, 15 Oct 2008 18:48:18 +0000 (11:48 -0700)]
snapshot
- fixed expression and statement printing
- missing: declarations, comments
R=r
OCL=17207
CL=17207
Rob Pike [Wed, 15 Oct 2008 05:16:45 +0000 (22:16 -0700)]
Make regexp build and install officially
R=rsc
DELTA=335 (172 added, 156 deleted, 7 changed)
OCL=17167
CL=17180
Rob Pike [Wed, 15 Oct 2008 02:41:05 +0000 (19:41 -0700)]
update bug list
R=ken
OCL=17169
CL=17169
Rob Pike [Wed, 15 Oct 2008 02:22:17 +0000 (19:22 -0700)]
move regexp to lib
next cl will update names and add to build
R=rsc
DELTA=1876 (938 added, 938 deleted, 0 changed)
OCL=17149
CL=17166
Russ Cox [Wed, 15 Oct 2008 01:47:24 +0000 (18:47 -0700)]
simplify comma code per ken's suggestion
R=ken
OCL=17164
CL=17164
Robert Griesemer [Wed, 15 Oct 2008 01:14:01 +0000 (18:14 -0700)]
- snapshot of pretty printer work
- accepts all Go code (use -s flag)
- complete rewrite of AST, AST building, and printing
(as a result much more compact)
- printing severely screwed up at the moment, but should be
fully working in 1 more day
R=r
DELTA=2118 (514 added, 980 deleted, 624 changed)
OCL=17161
CL=17161
Rob Pike [Wed, 15 Oct 2008 00:45:49 +0000 (17:45 -0700)]
add some tests
fix some bugs in () ordering and rune processing
R=rsc
DELTA=72 (27 added, 5 deleted, 40 changed)
OCL=17147
CL=17147
Russ Cox [Wed, 15 Oct 2008 00:10:39 +0000 (17:10 -0700)]
allow trailing comma in braced initialized list
R=ken
OCL=17141
CL=17143
Rob Pike [Tue, 14 Oct 2008 23:33:11 +0000 (16:33 -0700)]
delete hack for interface equality now that it supported by the 6g compiler
R=rsc
DELTA=21 (0 added, 21 deleted, 0 changed)
OCL=17123
CL=17136
Rob Pike [Tue, 14 Oct 2008 23:32:43 +0000 (16:32 -0700)]
implement matching
clean up interface equality hack
still needs more tests; checking in for gccgo testing
R=rsc
DELTA=304 (261 added, 14 deleted, 29 changed)
OCL=17128
CL=17135
Ken Thompson [Tue, 14 Oct 2008 23:10:44 +0000 (16:10 -0700)]
interface equality (strings specifically)
R=r
OCL=17134
CL=17134
Ken Thompson [Tue, 14 Oct 2008 22:08:23 +0000 (15:08 -0700)]
interface equality
R=r
OCL=17116
CL=17118
Ken Thompson [Tue, 14 Oct 2008 19:48:14 +0000 (12:48 -0700)]
bug with struct-type { 1 }
R=r
OCL=17096
CL=17096
Ken Thompson [Tue, 14 Oct 2008 03:14:09 +0000 (20:14 -0700)]
stack allocation for the init function
R=r
OCL=17063
CL=17063
Rob Pike [Mon, 13 Oct 2008 19:26:58 +0000 (12:26 -0700)]
6g thinks a struct with one entry yields a composite that is a basic conversion
R=rsc
DELTA=12 (12 added, 0 deleted, 0 changed)
OCL=16989
CL=16998
Rob Pike [Sat, 11 Oct 2008 23:48:05 +0000 (16:48 -0700)]
add character classes.
allocate into an array for easier scanning and printing.
R=rsc
DELTA=282 (193 added, 44 deleted, 45 changed)
OCL=16955
CL=16955
Rob Pike [Sat, 11 Oct 2008 01:42:19 +0000 (18:42 -0700)]
convert from integer indexes to interface variables.
update printing.
R=rsc
DELTA=194 (60 added, 41 deleted, 93 changed)
OCL=16942
CL=16945
Robert Griesemer [Fri, 10 Oct 2008 23:34:44 +0000 (16:34 -0700)]
- added language re: interface compparison using ==, !=
(seems not controversial)
R=r
DELTA=8 (3 added, 2 deleted, 3 changed)
OCL=16940
CL=16940
Russ Cox [Fri, 10 Oct 2008 23:21:50 +0000 (16:21 -0700)]
handle zeroed interface in ifaceI2I
R=r
OCL=16938
CL=16938
Robert Griesemer [Fri, 10 Oct 2008 23:18:01 +0000 (16:18 -0700)]
- added missing ';' according to new rules
(no effect on the test, but now parseable)
R=r
OCL=16936
CL=16936
Russ Cox [Fri, 10 Oct 2008 23:14:13 +0000 (16:14 -0700)]
until 6g implements it, warn about using int in interface.
R=ken
OCL=16935
CL=16935
Robert Griesemer [Fri, 10 Oct 2008 23:03:32 +0000 (16:03 -0700)]
- implemented heuristic for composite literals starting with a type name:
if in a if, for, or switch header, must be parenthesized
- implemented string concatenation
- simplified a lot of code
- added many more tests: can now parse all *.go files I got my hands on
- printing output currently broken in some cases, use with -s (silent) option
R=r
OCL=16932
CL=16934
Russ Cox [Fri, 10 Oct 2008 22:30:32 +0000 (15:30 -0700)]
add sys.BUG_intereq to compare interfaces for equality
R=r
OCL=16929
CL=16929
Robert Griesemer [Fri, 10 Oct 2008 21:50:23 +0000 (14:50 -0700)]
- removed extra package clause
R=rsc
DELTA=2 (0 added, 2 deleted, 0 changed)
OCL=16927
CL=16927
Robert Griesemer [Fri, 10 Oct 2008 19:45:44 +0000 (12:45 -0700)]
- Fixed bug in spec: PrimaryExpr is too restrictive in most places
(for instance *p was not allowed on the left side of "="). Changed
to Expression everywhere (this is too liberal, UnaryExpr is probably
good enough, but it seems funny, and we need to check semantically
anyway). This matches 6g yacc.
- Write expression syntac recursively to express evaluation order
and precedence syntactically.
- Organized open issues list, folded in stuff from todo.txt which
is now obsolete.
R=r
DELTA=108 (41 added, 52 deleted, 15 changed)
OCL=16903
CL=16910
Rob Pike [Fri, 10 Oct 2008 19:41:43 +0000 (12:41 -0700)]
cat unmatched )
delete unused This() in preparation for removing linking via array indexes
R=rsc
DELTA=26 (2 added, 23 deleted, 1 changed)
OCL=16895
CL=16909
Robert Griesemer [Fri, 10 Oct 2008 03:05:24 +0000 (20:05 -0700)]
- added missing case for opt. semicolons (labels)
- more precise wording by having an explicit list of cases
- simplified statement list
R=r
DELTA=16 (10 added, 0 deleted, 6 changed)
OCL=16871
CL=16875
Rob Pike [Fri, 10 Oct 2008 02:40:53 +0000 (19:40 -0700)]
beginnings of regular expression library.
will move elsewhere when more complete.
parses, does not execute.
no character classes yet.
R=rsc
DELTA=522 (522 added, 0 deleted, 0 changed)
OCL=16863
CL=16874
Robert Griesemer [Fri, 10 Oct 2008 01:03:16 +0000 (18:03 -0700)]
- more cleanups (simpler code for optional semi's, bug fixes)
R=r
OCL=16869
CL=16869
Robert Griesemer [Fri, 10 Oct 2008 00:12:09 +0000 (17:12 -0700)]
More spec progress:
- language for selectors and array/map indices
- formal description of syntax notation used
- factor out common productions to better show
symmetries in grammar
R=r
DELTA=113 (77 added, 13 deleted, 23 changed)
OCL=16853
CL=16865
Cary Hull [Thu, 9 Oct 2008 07:15:37 +0000 (00:15 -0700)]
Adding Mkdir.
R=rsc
APPROVED=rsc
DELTA=21 (21 added, 0 deleted, 0 changed)
OCL=16794
CL=16803
Robert Griesemer [Thu, 9 Oct 2008 00:05:30 +0000 (17:05 -0700)]
- make optional semicolons explicit in grammar in all places
except in statement list, where it is expressed in words
- allow for empty import, const, type, and var decl lists inside ()'s
- fixed grammar for inc/dec statements
- added empty statement as it appears to be accepted by 6g
R=r
DELTA=75 (23 added, 21 deleted, 31 changed)
OCL=16785
CL=16785
Russ Cox [Wed, 8 Oct 2008 22:33:18 +0000 (15:33 -0700)]
test of new empty productions
R=gri
DELTA=8 (8 added, 0 deleted, 0 changed)
OCL=16765
CL=16767
Russ Cox [Wed, 8 Oct 2008 22:33:09 +0000 (15:33 -0700)]
add empty var ( ), type ( ), const ( ) factorings
suggested by rob (could make programs generating
go easier to write).
R=ken
DELTA=13 (13 added, 0 deleted, 0 changed)
OCL=16766
CL=16766
Russ Cox [Wed, 8 Oct 2008 16:46:54 +0000 (09:46 -0700)]
split all.bash into make.bash and run.bash
R=r
OCL=16720
CL=16728
Russ Cox [Wed, 8 Oct 2008 16:46:31 +0000 (09:46 -0700)]
add http to lib build
R=r
OCL=16721
CL=16727
Russ Cox [Wed, 8 Oct 2008 16:46:20 +0000 (09:46 -0700)]
check $GOROOT before diving into build
R=r
DELTA=6 (6 added, 0 deleted, 0 changed)
OCL=16726
CL=16726
Cary Hull [Wed, 8 Oct 2008 16:34:50 +0000 (09:34 -0700)]
Fixes breakage caused by semicolon restriction.
R=rsc
APPROVED=rsc
DELTA=50 (4 added, 0 deleted, 46 changed)
OCL=16707
CL=16725
Russ Cox [Wed, 8 Oct 2008 16:21:57 +0000 (09:21 -0700)]
more interface checks:
- 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
Robert Griesemer [Wed, 8 Oct 2008 01:30:08 +0000 (18:30 -0700)]
- don't allow empty decl lists (e.g. const ())
R=r
OCL=16698
CL=16698
Robert Griesemer [Wed, 8 Oct 2008 00:57:19 +0000 (17:57 -0700)]
- accept new semicolon syntax (at the moment,
the parser accepts a bit more then it should)
R=r
OCL=16694
CL=16694
Cary Hull [Wed, 8 Oct 2008 00:25:32 +0000 (17:25 -0700)]
Unterminated declaration breaks build.
R=rsc
APPROVED=rsc
DELTA=1 (0 added, 0 deleted, 1 changed)
OCL=16688
CL=16690
Robert Griesemer [Wed, 8 Oct 2008 00:14:30 +0000 (17:14 -0700)]
- precise scope rules
- forward decls for interface and struct types
- complete & incomplete types
- optional semicolons
R=r
DELTA=216 (95 added, 15 deleted, 106 changed)
OCL=16465
CL=16687
Russ Cox [Tue, 7 Oct 2008 20:00:10 +0000 (13:00 -0700)]
remove support for *T as an implicit declaration of T
R=ken
OCL=16651
CL=16653
Russ Cox [Tue, 7 Oct 2008 19:59:54 +0000 (12:59 -0700)]
remove uses of *T as an implicit forward declaration of T
R=gri,r
OCL=16648
CL=16652
Russ Cox [Tue, 7 Oct 2008 19:42:57 +0000 (12:42 -0700)]
fix bug:
type T struct
export type T struct { a int }
was not exporting T
R=ken
OCL=16650
CL=16650
Russ Cox [Tue, 7 Oct 2008 19:36:39 +0000 (12:36 -0700)]
test that mutually recursive interfaces compile
R=r
DELTA=18 (18 added, 0 deleted, 0 changed)
OCL=16639
CL=16647
Russ Cox [Tue, 7 Oct 2008 19:36:30 +0000 (12:36 -0700)]
implement new semicolon rules:
* 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.
now that semicolons are in, uncomment forward declaration
of interfaces
R=ken
DELTA=285 (124 added, 114 deleted, 47 changed)
OCL=16638
CL=16646
Russ Cox [Tue, 7 Oct 2008 19:31:31 +0000 (12:31 -0700)]
update code to follow new semicolon rules:
* 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
Rob Pike [Tue, 7 Oct 2008 17:03:34 +0000 (10:03 -0700)]
sys.stringtorune doesn't need a length parameter.
R=rsc
DELTA=7 (0 added, 0 deleted, 7 changed)
OCL=16600
CL=16630
Russ Cox [Mon, 6 Oct 2008 23:44:17 +0000 (16:44 -0700)]
change type names to go live at the name, so that
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
Rob Pike [Mon, 6 Oct 2008 23:27:14 +0000 (16:27 -0700)]
change in spec results in non-error
R=gri
DELTA=4 (0 added, 3 deleted, 1 changed)
OCL=16565
CL=16579
Russ Cox [Mon, 6 Oct 2008 20:52:23 +0000 (13:52 -0700)]
silence gcc warning - initialize two variables
R=ken
OCL=16550
CL=16550
Ian Lance Taylor [Mon, 6 Oct 2008 20:12:03 +0000 (13:12 -0700)]
Change old-style export declaration to new style export of
type definition.
R=r
DELTA=3 (0 added, 2 deleted, 1 changed)
OCL=16537
CL=16545
Rob Pike [Sun, 5 Oct 2008 15:34:48 +0000 (08:34 -0700)]
bug026 and bug060 are fixed. update.
R=rsc
DELTA=87 (37 added, 50 deleted, 0 changed)
OCL=16498
CL=16507
Russ Cox [Sun, 5 Oct 2008 05:11:26 +0000 (22:11 -0700)]
fix method use bug in powser1.
R=r
DELTA=7 (2 added, 2 deleted, 3 changed)
OCL=16495
CL=16499
Ken Thompson [Sun, 5 Oct 2008 00:11:01 +0000 (17:11 -0700)]
bug060
R=r
OCL=16497
CL=16497
Ken Thompson [Sat, 4 Oct 2008 22:17:49 +0000 (15:17 -0700)]
bug 026
R=r
OCL=16494
CL=16494
Russ Cox [Sat, 4 Oct 2008 09:54:19 +0000 (02:54 -0700)]
change *a1++; to plain a1++
R=ken
DELTA=2 (0 added, 0 deleted, 2 changed)
OCL=16489
CL=16489
Russ Cox [Sat, 4 Oct 2008 09:51:03 +0000 (02:51 -0700)]
add method test & fix method name bugs
R=ken,r
DELTA=86 (72 added, 9 deleted, 5 changed)
OCL=16488
CL=16488
Russ Cox [Sat, 4 Oct 2008 00:06:24 +0000 (17:06 -0700)]
const bug, name bug - working on both
R=r
DELTA=43 (43 added, 0 deleted, 0 changed)
OCL=16468
CL=16475
Russ Cox [Fri, 3 Oct 2008 23:23:02 +0000 (16:23 -0700)]
silence gcc warnings
R=ken
OCL=16449
CL=16466
Russ Cox [Fri, 3 Oct 2008 23:15:55 +0000 (16:15 -0700)]
new import/export format
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
Ken Thompson [Fri, 3 Oct 2008 23:12:21 +0000 (16:12 -0700)]
interfaces of all types
R=r
OCL=16462
CL=16462
Rob Pike [Fri, 3 Oct 2008 21:49:10 +0000 (14:49 -0700)]
allow prof to launch the process
R=rsc
DELTA=32 (30 added, 0 deleted, 2 changed)
OCL=16440
CL=16445
Robert Griesemer [Fri, 3 Oct 2008 21:04:28 +0000 (14:04 -0700)]
- precise scope rules
- clarified naming of invisible fields
- fixed syntax of expression statements
R=r
DELTA=70 (33 added, 4 deleted, 33 changed)
OCL=16424
CL=16439
Rob Pike [Fri, 3 Oct 2008 18:18:45 +0000 (11:18 -0700)]
Revised wording about sends.
Evaluation is done before communication starts.
R=gri
DELTA=19 (4 added, 1 deleted, 14 changed)
OCL=16357
CL=16416
Ken Thompson [Fri, 3 Oct 2008 03:51:10 +0000 (20:51 -0700)]
more on arbitrary receiver types
this CL passes the tests, but should
be considered unstable
R=r
OCL=16390
CL=16390
Ken Thompson [Thu, 2 Oct 2008 22:37:15 +0000 (15:37 -0700)]
names now println/panicln
bug fix in named-return
R=r
OCL=16377
CL=16377
Ken Thompson [Thu, 2 Oct 2008 21:38:07 +0000 (14:38 -0700)]
added printn and panicn
prints that insert spaces and new line
R=r
OCL=16370
CL=16370
Russ Cox [Thu, 2 Oct 2008 18:34:04 +0000 (11:34 -0700)]
add values to some "return" statements.
delete unused variables
R=ken
OCL=16360
CL=16360
Rob Pike [Thu, 2 Oct 2008 17:37:12 +0000 (10:37 -0700)]
add a little text clarifying the behavior of 'select'
R=gri
DELTA=18 (8 added, 2 deleted, 8 changed)
OCL=16356
CL=16356
Ken Thompson [Thu, 2 Oct 2008 03:00:58 +0000 (20:00 -0700)]
clear output parameters
R=r
OCL=16345
CL=16345
Robert Griesemer [Thu, 2 Oct 2008 00:21:19 +0000 (17:21 -0700)]
Clarifications re: anonymous fields in structs:
- typename cannot refer to interface types
- clarified syntax
- added TODO re: type name issue with qualified identifiers
Changed/fixed order of operators/keywords.
R=r
DELTA=10 (3 added, 0 deleted, 7 changed)
OCL=16337
CL=16339
Ian Lance Taylor [Thu, 2 Oct 2008 00:01:42 +0000 (17:01 -0700)]
With the cleanup of method types, this test case is now
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
Robert Griesemer [Wed, 1 Oct 2008 21:31:44 +0000 (14:31 -0700)]
- fixed Makefile, added more tests
- fixed parsing of parameter lists (sigh)
R=r
DELTA=48 (22 added, 7 deleted, 19 changed)
OCL=16319
CL=16321
Ken Thompson [Wed, 1 Oct 2008 21:16:57 +0000 (14:16 -0700)]
initialization of
var a,b int;
R=r
OCL=16318
CL=16318
Russ Cox [Wed, 1 Oct 2008 18:06:13 +0000 (11:06 -0700)]
add a script to build *everything*
R=r
DELTA=41 (41 added, 0 deleted, 0 changed)
OCL=16290
CL=16293
Robert Griesemer [Wed, 1 Oct 2008 02:31:27 +0000 (19:31 -0700)]
more fine-tuning of ;'s
R=r
OCL=16274
CL=16274
Robert Griesemer [Wed, 1 Oct 2008 01:50:29 +0000 (18:50 -0700)]
- fixed semicolon handling in pretty printer
- some scanner cleanup
- new pretty-printed code can be compiled again (for some files)
R=r
OCL=16272
CL=16272
Russ Cox [Tue, 30 Sep 2008 22:45:49 +0000 (15:45 -0700)]
update golden.out
R=r
OCL=16250
CL=16250
Russ Cox [Tue, 30 Sep 2008 22:38:41 +0000 (15:38 -0700)]
remove ( ) around mismatch type prints,
so that they don't look like functions.
R=ken
OCL=16244
CL=16244
Russ Cox [Tue, 30 Sep 2008 22:35:40 +0000 (15:35 -0700)]
pretty types; use 6g -t to disable
R=ken
OCL=16240
CL=16242
Russ Cox [Tue, 30 Sep 2008 21:08:43 +0000 (14:08 -0700)]
tests of new func arg code
R=r
DELTA=41 (41 added, 0 deleted, 0 changed)
OCL=16212
CL=16223
Russ Cox [Tue, 30 Sep 2008 21:03:13 +0000 (14:03 -0700)]
i can import "net" in package net
and still have a variable named "net"
R=r
DELTA=18 (0 added, 0 deleted, 18 changed)
OCL=16220
CL=16222
Russ Cox [Tue, 30 Sep 2008 21:02:53 +0000 (14:02 -0700)]
for loops in hashmap.
a few missing FLUSH.
R=ken
OCL=16221
CL=16221
Russ Cox [Tue, 30 Sep 2008 20:52:44 +0000 (13:52 -0700)]
cleanup export
R=ken
OCL=16219
CL=16219
Russ Cox [Tue, 30 Sep 2008 20:49:31 +0000 (13:49 -0700)]
fix export bug for /usr/r/rpc
R=ken
OCL=16218
CL=16218
Rob Pike [Tue, 30 Sep 2008 20:07:38 +0000 (13:07 -0700)]
update golden for new error messages
R=rsc
OCL=16213
CL=16213
Robert Griesemer [Tue, 30 Sep 2008 20:02:50 +0000 (13:02 -0700)]
- exceptional conditions during expression evaluation are undefined
- "nil" for interfaces, comparison against "nil"
R=r
DELTA=38 (24 added, 5 deleted, 9 changed)
OCL=16207
CL=16211
Russ Cox [Tue, 30 Sep 2008 19:53:11 +0000 (12:53 -0700)]
fix up arg list parsing to handle any names:
type t1 int;
type t2 int;
type t3 int;
func f1(t1, t2, t3);
func f2(t1, t2, t3 bool);
func f3(t1, t2, x t3);
func f4(*t2, x t3); // error: cannot mix
func f5(t1, *t3);
func (x *t1) f6(y *[]t2) (t1, *t3);
func f7() (int, *string);
func f8(t1, *t2, x t3); // error: cannot mix
func f9() (x int, *string);
func f10(*t2, t3);
R=ken
OCL=16202
CL=16210
Rob Pike [Tue, 30 Sep 2008 19:31:47 +0000 (12:31 -0700)]
104, 107, 108: they are known to fail, so mark them appropriately.
update golden
add the "goroutines" test
R=iant
DELTA=74 (36 added, 23 deleted, 15 changed)
OCL=16194
CL=16206
Robert Griesemer [Tue, 30 Sep 2008 17:57:59 +0000 (10:57 -0700)]
- type of array literals is always fixed array
- changed terminology from "embedded type" to "anonymous field"
R=r
DELTA=38 (7 added, 2 deleted, 29 changed)
OCL=16193
CL=16196