Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
various cleanup, deleting unused code
R=ken2
CC=golang-dev
http://codereview.appspot.com/1663041
|
|
* Code for assignment, conversions now mirrors spec.
* Changed some snprint -> smprint.
* Renamed runtime functions to separate
interface conversions from type assertions:
convT2I, assertI2T, etc.
* Correct checking of \U sequences.
Fixes issue 840.
Fixes issue 830.
Fixes issue 778.
R=ken2
CC=golang-dev
http://codereview.appspot.com/1303042
|
|
2. add complex algorithm for map/chan
3. test for use of complex in
array, slice, field, chan, map,
field, pointer.
R=rsc
CC=golang-dev
http://codereview.appspot.com/384041
|
|
do not convert to float prematurely.
R=ken2
CC=golang-dev
http://codereview.appspot.com/311041
|
|
R=ken2
CC=golang-dev
http://codereview.appspot.com/217069
|
|
more complex -- constants, variables and print.
R=rsc
CC=golang-dev
http://codereview.appspot.com/217061
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/217041
|
|
import and export
R=rsc
CC=golang-dev
http://codereview.appspot.com/214050
|
|
only front-end compiler work.
best to do thin in 3 steps
1. frontend
2. backend
3. lib
R=rsc
CC=golang-dev
http://codereview.appspot.com/214042
|
|
Fixes issue 587.
R=ken2
CC=golang-dev
http://codereview.appspot.com/207085
|
|
R=ken2
CC=golang-dev
http://codereview.appspot.com/198057
|
|
R=ken2
CC=golang-dev
http://codereview.appspot.com/194051
|
|
Fixes issue 471.
R=ken2
CC=golang-dev
http://codereview.appspot.com/181184
|
|
R=ken2
http://codereview.appspot.com/157114
|
|
R=ken2
http://codereview.appspot.com/155074
|
|
* check for struct literal assignment to private fields.
* record, fix crash involving parallel map assignment.
* avoid infinite recursion in exportassignok.
* make floating point bounds check precise.
* avoid crash on invalid receiver.
* add context to error about implicit assignment.
Fixes issue 86.
Fixes issue 88.
Fixes issue 158.
Fixes issue 174.
Fixes issue 201.
Fixes issue 204.
R=ken2
http://codereview.appspot.com/154144
|
|
Fixes issue 183.
R=ken
http://codereview.appspot.com/154139
|
|
R=ken
OCL=35920
CL=35920
|
|
R=ken
OCL=34859
CL=34865
|
|
x == nil
x.go:5: cannot use nil as bool
c := x.(type);
x.go:88: use of .(type) outside type switch
R=ken
OCL=34476
CL=34476
|
|
universe block names.
BUG=2097244
R=ken
OCL=34295
CL=34473
|
|
to write type descriptors for ideal types
R=ken
OCL=33958
CL=33958
|
|
R=ken
OCL=33765
CL=33765
|
|
R=ken
OCL=33730
CL=33730
|
|
R=ken
OCL=33694
CL=33697
|
|
still to do:
* initializer cycle detection
* nicer error for type checking cycles
R=ken
OCL=32855
CL=32880
|
|
R=ken
OCL=32716
CL=32720
|
|
typecheck.c is now responsible for all type checking
except for assignment and function argument "..."
R=ken
OCL=32661
CL=32667
|
|
started to move typechecking to another file.
can build entire tree still, but lots of work
is duplicated. much to clean up.
R=ken
OCL=32536
CL=32543
|
|
not complete but compiler still works.
R=ken
OCL=32424
CL=32426
|
|
R=ken
OCL=32255
CL=32255
|
|
R=ken
OCL=32252
CL=32252
|
|
consts in the same factored block
const (
X = Y;
Y = 2;
)
R=ken
OCL=31782
CL=31782
|
|
x << "a"
1 << int(2)
R=ken
OCL=31244
CL=31244
|
|
interface = (*int)(nil) is not the same as
interface = nil.
package main
func main() {
var x interface{} = (*int)(nil);
println(x.(*int));
}
R=ken
OCL=31232
CL=31232
|
|
wreck.mtv=; cat x.go
package main
var x = string.Split()
wreck.mtv=; 6g x.go
x.go:2: type string used as expression
x.go:2: undefined DOT Split on string
x.go:3: illegal types for operand: AS
undefined
wreck.mtv=;
BUG=1938751
R=ken
OCL=30766
CL=30766
|
|
R=r
OCL=29623
CL=29623
|
|
R=r
OCL=29612
CL=29612
|
|
fewer moves, fewer stupid LEALs.
powser1 runs (with evaln commented out).
beginnings of floating point.
R=ken
OCL=29540
CL=29543
|
|
* conversions all in one place.
* no separate load, store phases;
direct memory addressing when possible
(this is the x86 after all!).
avoids extra registers, extra MOVQs.
* fixes int32 -> uint64 bug
(was zero-extending)
R=ken
OCL=29482
CL=29484
|
|
R=ken
OCL=29448
CL=29448
|
|
structure and array literals
R=r
OCL=29190
CL=29190
|
|
new type equality restrictions
better handling of renamed packages
"sys" is no longer available to programs
R=ken
OCL=28553
CL=28578
|