1
0
mirror of https://github.com/golang/go synced 2024-11-12 09:20:22 -07:00
go/test
Russ Cox 60ce95d7a1 code changes for array conversion.
as a reminder, the old conversion
was that you could write

	var arr [10]byte;
	var slice []byte;
	slice = arr;

but now you have to write

	slice = &arr;

the change eliminates an implicit &, so that
the only implicit &s left are in the . operator
and in string(arr).

also, removed utf8.EncodeRuneToString
in favor of string(rune).

R=r
DELTA=83  (1 added, 23 deleted, 59 changed)
OCL=27531
CL=27534
2009-04-15 20:27:45 -07:00
..
bugs bug142 is fixed 2009-04-10 17:58:10 -07:00
chan range over channels. 2009-03-20 11:32:58 -07:00
fixedbugs code changes for array conversion. 2009-04-15 20:27:45 -07:00
ken code changes for array conversion. 2009-04-15 20:27:45 -07:00
235.go Automated g4 rollback of changelist 25024, 2009-03-03 08:39:12 -08:00
args.go casify, cleanup sys 2009-01-16 14:58:14 -08:00
bigalg.go Automated g4 rollback of changelist 25024, 2009-03-03 08:39:12 -08:00
char_lit.go casify, cleanup sys 2009-01-16 14:58:14 -08:00
closedchan.go add test for close/closed, fix a few implementation bugs. 2009-03-23 18:50:35 -07:00
closure.go Automated g4 rollback of changelist 25024, 2009-03-03 08:39:12 -08:00
cmp1.go Automated g4 rollback of changelist 25024, 2009-03-03 08:39:12 -08:00
cmp2.go implement new restrictions on what 2009-01-26 09:56:42 -08:00
cmp3.go implement new restrictions on what 2009-01-26 09:56:42 -08:00
cmp4.go implement new restrictions on what 2009-01-26 09:56:42 -08:00
cmp5.go implement new restrictions on what 2009-01-26 09:56:42 -08:00
complit.go Automated g4 rollback of changelist 25024, 2009-03-03 08:39:12 -08:00
const1.go ^ type(const) now inverts "enough" bits 2009-03-24 16:40:38 -07:00
const2.go Recognize gccgo error message. 2009-03-16 21:48:07 -07:00
const3.go make 6g constants behave as ken proposes. (i hope.) 2009-03-12 19:04:38 -07:00
const.go make 6g constants behave as ken proposes. (i hope.) 2009-03-12 19:04:38 -07:00
convert.go make 6g constants behave as ken proposes. (i hope.) 2009-03-12 19:04:38 -07:00
convlit1.go Automated g4 rollback of changelist 25024, 2009-03-03 08:39:12 -08:00
convlit.go make 6g constants behave as ken proposes. (i hope.) 2009-03-12 19:04:38 -07:00
defer.go test for defer 2009-01-27 15:08:08 -08:00
empty.go test of new empty productions 2008-10-08 15:33:18 -07:00
env.go casify, cleanup sys 2009-01-16 14:58:14 -08:00
errchk make 6g constants behave as ken proposes. (i hope.) 2009-03-12 19:04:38 -07:00
escape1.go Rename function to avoid function redefinition error. Remove 2009-02-05 12:54:15 -08:00
escape.go if take address of local, move to heap. 2009-01-29 17:38:58 -08:00
export.go delete export 2009-01-20 14:40:40 -08:00
float_lit.go minor int/float fixes 2008-10-29 13:58:12 -07:00
for.go fix bug depot: 2008-08-11 22:07:49 -07:00
func1.go Check for specific error messages in the testsuite. This 2008-09-19 14:39:49 -07:00
func2.go convert *[] to []. 2008-12-18 22:37:22 -08:00
func3.go change in spec results in non-error 2008-10-06 16:27:14 -07:00
func4.go Recognize gccgo error messages: 2009-02-06 15:57:02 -08:00
func5.go update go code tree to new func rules. 2009-01-30 14:39:31 -08:00
func.go delete export 2009-01-20 14:40:40 -08:00
gc1.go gc #0. mark and sweep collector. 2009-01-26 17:37:05 -08:00
gc.go gc #0. mark and sweep collector. 2009-01-26 17:37:05 -08:00
golden.out fix stringrange test 2009-04-13 05:31:44 -07:00
hashmap.go delete export 2009-01-20 14:40:40 -08:00
helloworld.go fix bug depot: 2008-08-11 22:07:49 -07:00
hilbert.go delete export 2009-01-20 14:40:40 -08:00
if1.go casify, cleanup sys 2009-01-16 14:58:14 -08:00
if.go fix bug depot: 2008-08-11 22:07:49 -07:00
indirect.go Automated g4 rollback of changelist 25024, 2009-03-03 08:39:12 -08:00
initcomma.go Automated g4 rollback of changelist 25024, 2009-03-03 08:39:12 -08:00
int_lit.go casify, cleanup sys 2009-01-16 14:58:14 -08:00
interface1.go delete export 2009-01-20 14:40:40 -08:00
interface2.go insert type assertions when narrowing. 2009-02-11 17:55:16 -08:00
interface3.go delete export 2009-01-20 14:40:40 -08:00
interface4.go complain when trying to put T into an interface 2009-03-11 16:06:17 -07:00
interface5.go insert type assertions when narrowing. 2009-02-11 17:55:16 -08:00
interface6.go complain when trying to put T into an interface 2009-03-11 16:06:17 -07:00
interface7.go test for and fix bug involving reflect v.Interface() and ==. 2009-03-31 17:33:04 -07:00
interface.go delete export 2009-01-20 14:40:40 -08:00
iota.go delete export 2009-01-20 14:40:40 -08:00
literal.go fix bug depot: 2008-08-11 22:07:49 -07:00
malloc1.go printf->Printf etc. 2009-01-15 13:48:11 -08:00
mallocrand.go Automated g4 rollback of changelist 25024, 2009-03-03 08:39:12 -08:00
mallocrep1.go delete export 2009-01-20 14:40:40 -08:00
mallocrep.go convert tests; nothing interesting. 2009-01-16 16:12:14 -08:00
map.go allow range on nil maps 2009-03-23 18:32:37 -07:00
method1.go delete export 2009-01-20 14:40:40 -08:00
method2.go delete export 2009-01-20 14:40:40 -08:00
method3.go Automated g4 rollback of changelist 25024, 2009-03-03 08:39:12 -08:00
method.go delete export 2009-01-20 14:40:40 -08:00
nil.go delete export 2009-01-20 14:40:40 -08:00
parentype.go Automated g4 rollback of changelist 25024, 2009-03-03 08:39:12 -08:00
peano.go delete export 2009-01-20 14:40:40 -08:00
printbig.go fix printing of -(1<<63) 2008-09-17 14:08:52 -07:00
range.go range over channels. 2009-03-20 11:32:58 -07:00
run update golden.out. 2008-11-17 12:44:22 -08:00
sieve.go delete export 2009-01-20 14:40:40 -08:00
sigchld.go preparation for exec. 2008-12-03 14:21:28 -08:00
simassign.go fix bug depot: 2008-08-11 22:07:49 -07:00
stack.go test for new string bug 2009-04-10 06:22:41 -07:00
string_lit.go casify, cleanup sys 2009-01-16 14:58:14 -08:00
stringrange.go fix stringrange test 2009-04-13 05:31:44 -07:00
switch1.go casify, cleanup sys 2009-01-16 14:58:14 -08:00
switch.go fix bug depot: 2008-08-11 22:07:49 -07:00
test0.go delete export 2009-01-20 14:40:40 -08:00
turing.go fix bug depot: 2008-08-11 22:07:49 -07:00
typeswitch.go simplify test to eliminate now-deprecated forms of switch. 2009-03-18 14:05:05 -07:00
utf.go casify, cleanup sys 2009-01-16 14:58:14 -08:00
varinit.go The scope rules have been clarified to indicate that a 2008-11-17 12:19:02 -08:00
vectors.go - vector package (identical to array except for names) 2009-02-13 15:07:56 -08:00