1
0
mirror of https://github.com/golang/go synced 2024-11-18 00:34:44 -07:00
Commit Graph

88 Commits

Author SHA1 Message Date
Rob Pike
7713599f95 update tests
R=gri
OCL=14847
CL=14847
2008-09-04 17:36:57 -07:00
Rob Pike
2a08f29e5f resolve that all unnecessary backslashes are rejected.
bug068 is not a bug.

R=gri
OCL=14838
CL=14838
2008-09-04 16:48:19 -07:00
Rob Pike
696815c542 extend composite literal test.
update tests.
update golden.out

R=gri
OCL=14816
CL=14816
2008-09-04 13:35:19 -07:00
Rob Pike
6c72bfa55b fix bug in stack overflow check.
if stack is in low memory and frame size is huge, test could wrap around!
fix by omitting test altogether if we know frame is big.

R=gri
OCL=14782
CL=14782
2008-09-03 19:58:46 -07:00
Rob Pike
5ee2b0478a update bugs
add test for composite literals

R=gri
OCL=14766
CL=14766
2008-09-03 15:54:33 -07:00
Rob Pike
e1e53e35a4 update tests
add commands to two new ken tests

R=gri
OCL=14751
CL=14751
2008-09-03 13:21:05 -07:00
Rob Pike
9fbc221f0e update tests.
fix bug092, which was incorrectly specified

R=gri
OCL=14713
CL=14713
2008-09-02 13:08:40 -07:00
Robert Griesemer
fb4c2a3737 - declaring large fixed arrays is causing runtime crash
R=ken
OCL=14658
CL=14660
2008-08-29 13:47:29 -07:00
Robert Griesemer
7eff30f0f0 - updated test cases to latest compiler changes
R=r
DELTA=185  (59 added, 33 deleted, 93 changed)
OCL=14655
CL=14655
2008-08-29 13:21:00 -07:00
Rob Pike
3308eb4406 delete redundant bug.
fix typo.
add scoping bug.

R=gri
OCL=14349
CL=14349
2008-08-20 15:46:05 -07:00
Robert Griesemer
a9af184131 bugs related to constat types
R=r
DELTA=10  (6 added, 4 deleted, 0 changed)
OCL=14348
CL=14348
2008-08-20 15:43:12 -07:00
Rob Pike
3aecf2ed07 add test for constants
add bug in constant evaluation (erroneously allowing assignment of float to int)
update golden

R=gri
OCL=14153
CL=14153
2008-08-13 12:15:24 -07:00
Rob Pike
0f1d439e82 update bugs
exploit the compiler now supporting i2s and i2i and clean up some code
fix up some panics and prints

R=gri
OCL=14141
CL=14141
2008-08-12 17:07:33 -07:00
Rob Pike
8c89767c72 update tests
R=gri
OCL=14137
CL=14137
2008-08-12 16:11:55 -07:00
Rob Pike
bc2f5f1dce fix bug depot:
1) fix print statements, panic statements (parentheses required)
	2) len is now allowed as a var name (bug053)

R=gri
OCL=14106
CL=14106
2008-08-11 22:07:49 -07:00
Robert Griesemer
1e0b17b24c - added test case for compiler bug re: exported
variables of function pointer type

R=r
OCL=14086
CL=14086
2008-08-11 11:40:19 -07:00
Rob Pike
1f41ed375b update tests.
fixedbugs/bug012.go is broken again but i left it where it is, with
the golden file not reflecting the breakage so it will be noticed

R=ken,gri
OCL=14073
CL=14073
2008-08-11 10:10:48 -07:00
Robert Griesemer
7924b3862d - removed misleading comment in bug041.go
- removed bug042.go - not a bug according to updated spec

R=r
DELTA=43  (5 added, 36 deleted, 2 changed)
OCL=14008
CL=14010
2008-08-08 16:12:34 -07:00
Robert Griesemer
4addd94687 bug: cannot take len() of a constant string
R=r
OCL=13989
CL=13989
2008-08-07 17:56:12 -07:00
Robert Griesemer
20c5bcfdbb returning from a function that specified a result should cause a run-time
failure if no return is actually executed

R=r
OCL=13915
CL=13915
2008-08-06 10:02:18 -07:00
Robert Griesemer
044a3b1a5e bug: package name not visible
R=r
OCL=13898
CL=13898
2008-08-05 16:09:49 -07:00
Rob Pike
234dd3d7e3 go method bug is fixed.
R=gri
OCL=13766
CL=13766
2008-08-02 15:52:36 -07:00
Rob Pike
aede753cd2 new bug: go on a method is wrong
R=gri
OCL=13741
CL=13741
2008-08-01 16:23:16 -07:00
Robert Griesemer
defecbd7a9 bug: non-exported type is accessible in client
R=r
OCL=13736
CL=13738
2008-08-01 15:22:41 -07:00
Robert Griesemer
0748bf3797 - filed 2 bugs: unary ^ not implemented, compiler crash with illegal const decl
R=r
OCL=13666
CL=13666
2008-07-30 16:09:29 -07:00
Robert Griesemer
9cf8312a57 - bug in function invocation
R=r
OCL=13640
CL=13640
2008-07-30 10:14:39 -07:00
Robert Griesemer
fce9118610 - handling of pointer forward decls
- some comments added to bug cases
- added notes

R=r
OCL=13543
CL=13543
2008-07-29 12:03:06 -07:00
Rob Pike
f436ade2fd update tests
R=gri
OCL=13526
CL=13526
2008-07-28 16:08:38 -07:00
Robert Griesemer
4a9b4e6604 - parameters must be named
R=r
OCL=13520
CL=13520
2008-07-28 12:08:06 -07:00
Rob Pike
ea0569026c update tests
R=gri
OCL=13516
CL=13516
2008-07-28 10:22:49 -07:00
Rob Pike
6bff372594 update tests
R=ken
OCL=13507
CL=13507
2008-07-27 13:50:54 -07:00
Rob Pike
8fda2e4083 really fix it this time
R=ken
OCL=13506
CL=13506
2008-07-27 13:32:33 -07:00
Rob Pike
8a09c131cc code had syntax error masking real bug
R=ken
OCL=13505
CL=13505
2008-07-27 13:30:53 -07:00
Rob Pike
756c63cd02 bug: compiler crash on select receive without variable.
R=gri
OCL=13470
CL=13470
2008-07-25 12:49:36 -07:00
Rob Pike
1fc8e6f74a update tests
R=gri
OCL=13469
CL=13469
2008-07-25 12:20:14 -07:00
Robert Griesemer
485d1bb3ed - filed bug: label identifiers should not be allowed to match
other identifiers in the same scope.

R=r
OCL=13431
CL=13431
2008-07-24 13:36:18 -07:00
Robert Griesemer
d544ddb555 - filed bug: label names in different scopes should not conflict
R=r
OCL=13430
CL=13430
2008-07-24 13:30:49 -07:00
Rob Pike
5a30b5b8a9 new bug: x, ok = t.m[i] doesn't compile
R=ken
OCL=13395
CL=13395
2008-07-23 18:11:17 -07:00
Rob Pike
820f223af9 compiler crash in string('a', 'b', '\n');
SVN=128253
2008-07-21 15:41:39 -07:00
Rob Pike
85c85e2b3f test update
SVN=128120
2008-07-19 15:08:56 -07:00
Robert Griesemer
bce1c3f09a - added 2 bugs tests
SVN=128056
2008-07-18 12:26:48 -07:00
Rob Pike
6426659db9 update tests
SVN=127826
2008-07-17 11:15:11 -07:00
Rob Pike
30a39e8f29 compiler bug: infinite recursion in subtype()
SVN=127822
2008-07-17 11:04:44 -07:00
Rob Pike
aff8d9b468 nested breaks handled wrong
SVN=127239
2008-07-15 10:44:02 -07:00
Rob Pike
27e43085a3 new bug
SVN=127232
2008-07-15 10:27:05 -07:00
Rob Pike
42ae6851c0 fix bug names
add a new one: go func() { print "ok\n" } ();

SVN=127144
2008-07-14 19:31:06 -07:00
Robert Griesemer
08b5993b8e - filed 6g crash bug
SVN=127093
2008-07-14 16:26:41 -07:00
Robert Griesemer
9ec762791e - filed a bug against 6g (bug065.go)
- improved scanner.go error handling

SVN=126706
2008-07-10 13:45:02 -07:00
Rob Pike
5352306f10 fixed three-way decl
SVN=126254
2008-07-07 18:07:31 -07:00
Rob Pike
f86c6f673e k,l,m := 0,0,0 doesn't compile
SVN=126247
2008-07-07 17:52:44 -07:00