Ken Thompson
4797523572
fixed bugs in const/case
...
R=r
DELTA=138 (75 added, 12 deleted, 51 changed)
OCL=14129
CL=14131
2008-08-12 14:04:03 -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
Rob Pike
968701beb1
- fix signedness bug in sys.Inf()
...
- add NaN, Inf printing to fmt
- fix a couple of bugs in fmt
- add a test for fmt
R=ken
OCL=14092
CL=14092
2008-08-11 15:04:54 -07:00
Rob Pike
2738f42d18
add test for maps.
...
R=gri
OCL=14090
CL=14090
2008-08-11 13:32:13 -07:00
Rob Pike
cbaca0be24
code in bug was wrong; correct and improve. works now.
...
R=gri
OCL=14088
CL=14088
2008-08-11 13:08:16 -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
Rob Pike
3963fe3b32
fix a couple of tests that had shell errors
...
clean up the golden file a bit to have less meaningless content and be more robust to spurious diffs.
now there is output only for tests that produce output or failure.
R=gri
OCL=14005
CL=14005
2008-08-08 10:57:23 -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
Rob Pike
69353f0a50
fix erroneous code in bugs; reported by iant.
...
also rob1.go runs, so fix its status.
R=gri,iant
OCL=13957
CL=13957
2008-08-07 13:27:58 -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
033682deec
workaround for compiler bug: len(a) is zero
...
TBR=iant
OCL=13873
CL=13873
2008-08-05 08:20:34 -07:00
Rob Pike
f439299035
fix bug - need to read final message in daisy chain to avoid hang
...
R=rsc
OCL=13840
CL=13840
2008-08-04 16:29:22 -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
9c8f48bd0e
use real select
...
R=ken
OCL=13519
CL=13519
2008-07-28 12:03:56 -07:00
Rob Pike
ea0569026c
update tests
...
R=gri
OCL=13516
CL=13516
2008-07-28 10:22:49 -07:00
Rob Pike
c1736ed6be
update golden
...
R=gri
OCL=13515
CL=13515
2008-07-28 09:57:43 -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
Ken Thompson
b78676a49d
start of select
...
random bugs fixed
SVN=128149
2008-07-20 20:13:07 -07:00
Rob Pike
15d472dd53
add an eval function (written by ken)
...
SVN=128122
2008-07-19 15:11:25 -07:00
Rob Pike
85c85e2b3f
test update
...
SVN=128120
2008-07-19 15:08:56 -07:00
Rob Pike
f87a960adf
add doug's power series package
...
SVN=128063
2008-07-18 14:18:07 -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
fbe7ba5b6a
strengthen test by checking values
...
SVN=127601
2008-07-16 14:49:01 -07:00
Rob Pike
f6c13bb2b7
add test for non-blocking channel ops
...
SVN=127595
2008-07-16 14:41:27 -07:00
Ken Thompson
ac048ce7f4
new chan syntax
...
SVN=127437
2008-07-15 21:07:59 -07:00
Rob Pike
33101926f9
channel tests with new syntax
...
SVN=127436
2008-07-15 20:52:07 -07:00
Rob Pike
a703c9a926
add a couple of tests
...
update golden
SVN=127428
2008-07-15 19:19:50 -07:00
Rob Pike
e9ecc41eb9
update golden.out
...
SVN=127240
2008-07-15 10:49:26 -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