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
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
Rob Pike
4ce3065e63
update golden
...
improve sieve test, and split into two versions
SVN=127077
2008-07-14 15:13:59 -07:00
Rob Pike
2fdbf0d595
fix a couple of minor errors
...
SVN=126938
2008-07-12 13:56:33 -07:00
Rob Pike
d0cf215bf2
add new test - factorial by inc and dec
...
SVN=126937
2008-07-12 13:20:21 -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
655c281303
disambiguate typedefs in export blocks of .6 files
...
SVN=126366
2008-07-08 14:20:04 -07:00
Rob Pike
6810f39edf
test update. also remove two duplicates
...
SVN=126336
2008-07-08 12:22:21 -07:00
Rob Pike
c38391ad7b
test update. some tests now run; no change to output
...
SVN=126328
2008-07-08 11:30:20 -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
5b904a3bde
update to Unicode 5
...
SVN=126184
2008-07-07 14:07:46 -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
Rob Pike
787cdc65f7
improved iota test for new form
...
SVN=125995
2008-07-03 17:16:08 -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
Rob Pike
add9c8cc18
fix typo in file name
...
SVN=125964
2008-07-03 15:16:17 -07:00
Robert Griesemer
8b45c369fb
- filed a bug
...
SVN=125596
2008-07-01 18:06:00 -07:00
Rob Pike
0b6e6afb76
add test that was mistakenly not checked in, now fixed
...
SVN=125408
2008-06-30 16:52:17 -07:00
Rob Pike
6973e3813f
update golden
...
fix a comment
SVN=125405
2008-06-30 16:30:53 -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
282356bf4f
update: hashmap compiles now
...
SVN=125233
2008-06-27 17:58:13 -07:00
Rob Pike
e95481a938
test wasn't being run. it works fine.
...
SVN=125179
2008-06-27 14:25:50 -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
Robert Griesemer
0f99bec402
- added calc cmd
...
SVN=125025
2008-06-26 18:35:22 -07:00
Rob Pike
695e3938a0
add readfile test
...
update golden
SVN=125006
2008-06-26 17:08:39 -07:00
Robert Griesemer
553771314c
- moved integer code into src/pkg
...
SVN=125003
2008-06-26 16:52:15 -07:00
Ken Thompson
f710e8ed04
simultaneous assignment test
...
SVN=124994
2008-06-26 16:21:51 -07:00
Robert Griesemer
433ac8e57b
- a couple of fixes for integer.go
...
- added pkg dir
SVN=124991
2008-06-26 16:15:43 -07:00
Robert Griesemer
2b8db5a439
- added bug against maps
...
SVN=124977
2008-06-26 15:15:38 -07:00
Robert Griesemer
7e21ec3007
- filed a bug against len()
...
SVN=124926
2008-06-26 11:56:17 -07:00
Robert Griesemer
3311e1b673
- dump registers in case of signal (linux)
...
SVN=124702
2008-06-25 17:07:22 -07:00
Rob Pike
c137d6b8e4
improve bug054.go
...
fix integer.ToString to return the proper, not-nul-terminated value
SVN=124654
2008-06-25 15:22:27 -07:00
Rob Pike
0ece7d470f
add new bug: can't compile a, b := sys.frexp(1.0)
...
SVN=124622
2008-06-25 14:05:38 -07:00
Rob Pike
2987c8434b
arguments available
...
argc, argv, envc, envv all in sys now
sys.argc() etc.
SVN=124398
2008-06-24 15:31:03 -07:00
Rob Pike
7b409b30f2
update some tests
...
SVN=124196
2008-06-23 17:13:33 -07:00
Ken Thompson
a77f7b2497
remove receclarations from tests
...
that are supposed to succeed
SVN=124018
2008-06-21 15:08:04 -07:00
Robert Griesemer
543226e8fd
- added large integer arithmetic package and test cases
...
SVN=123486
2008-06-18 17:09:20 -07:00
Rob Pike
3df8e0a166
clean up ken/rob2.go to eliminate a few workarounds
...
SVN=123442
2008-06-18 14:47:46 -07:00
Rob Pike
74aa77fbd4
add new test bug055
...
SVN=123431
2008-06-18 14:17:24 -07:00
Rob Pike
080bd1ec8a
a couple of bugs around nil are fixed
...
SVN=123423
2008-06-18 13:53:51 -07:00
Rob Pike
727ea928d5
forgot command line for bug054
...
update golden.out
SVN=123412
2008-06-18 13:08:01 -07:00
Rob Pike
9b664c580f
'default' bug in switch statements is fixed
...
SVN=123411
2008-06-18 13:06:09 -07:00
Rob Pike
a65cc2a867
add a bug: method call doesn't compile
...
SVN=123403
2008-06-18 11:51:21 -07:00
Robert Griesemer
9615542d10
- added another bug test ('len' shouldn't be a keyword)
...
SVN=123225
2008-06-17 16:22:02 -07:00
Robert Griesemer
e5373f27d0
- added 2 bug tests
...
SVN=123220
2008-06-17 16:04:33 -07:00
Rob Pike
ec94a8cfc9
add two more tests
...
SVN=123143
2008-06-17 10:56:28 -07:00
Rob Pike
bb57a5bc2c
added two new small tests
...
SVN=123010
2008-06-16 15:18:10 -07:00
Rob Pike
9a58c9c52a
update more tests to reflect tweaked grammar for if, switch
...
SVN=122916
2008-06-16 12:16:11 -07:00
Rob Pike
39b28df01e
update test results
...
SVN=122912
2008-06-16 11:36:23 -07:00
Ken Thompson
e1a06ccc80
now checks for lvalue/rvalue context of
...
expressions.
start of generics for calling builtin
functions
start of map type
'any' demoted from reserved word to type
SVN=122808
2008-06-15 20:24:30 -07:00
Rob Pike
30706a7ee7
error messages now have colon after line number
...
SVN=122803
2008-06-15 12:22:35 -07:00
Rob Pike
a432e09b44
Add nil test, with bug
...
SVN=122644
2008-06-13 09:09:22 -07:00