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

77 Commits

Author SHA1 Message Date
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
Rob Pike
c0eb70265d bug update
SVN=126121
2008-07-07 10:17:52 -07:00
Rob Pike
bf14ef61fc test cleanup
SVN=126120
2008-07-07 10:03:10 -07:00
Rob Pike
b0273023f6 one bug fixed
SVN=126006
2008-07-03 18:10:54 -07:00
Robert Griesemer
ba25fe80a2 - minor update
SVN=125989
2008-07-03 16:51:22 -07:00
Rob Pike
3a613be75e fix some tests
SVN=125987
2008-07-03 16:48:59 -07:00
Robert Griesemer
b43ad96ed6 - filed a bug w/ constant evaluation
SVN=125966
2008-07-03 15:16:51 -07:00
Robert Griesemer
8b45c369fb - filed a bug
SVN=125596
2008-07-01 18:06:00 -07:00
Rob Pike
eca23cfd92 slice doesn't work on a string literal
SVN=125259
2008-06-28 12:50:33 -07:00
Rob Pike
00368bae8c new test - map failure
SVN=125258
2008-06-28 11:38:07 -07:00
Rob Pike
34cb7c299e export sys.exit
update tests to use exit rather than return
ignore return value from main (actually done in prior CL)

SVN=125173
2008-06-27 14:15:06 -07:00
Rob Pike
f977e251fa add a test
fix make.bash for runtime - sysfile.6 depends on OS so simplest thing is to build just our own version

SVN=125130
2008-06-27 11:36:40 -07:00