summaryrefslogtreecommitdiff
path: root/src/cmd/gc/print.c
AgeCommit message (Collapse)AuthorFilesLines
2011-06-10Imported Upstream version 2011.06.09upstream-weekly/2011.06.09Ondřej Surý1-0/+4
2011-04-28Imported Upstream version 2011.04.27upstream/2011.04.27Ondřej Surý1-0/+11
2011-04-26Imported Upstream version 2011.04.13upstream/2011.04.13Ondřej Surý1-2/+0
2011-02-14Imported Upstream version 2011-02-01.1upstream/2011-02-01.1Ondřej Surý1-2/+3
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-7/+54
2010-06-20gc: better error messages for interface failures, conversionsRuss Cox1-1/+4
x.go:13: cannot use t (type T) as type Reader in assignment: T does not implement Reader (Read method requires pointer receiver) x.go:19: cannot use q (type Q) as type Reader in assignment: Q does not implement Reader (missing Read method) have read() want Read() x.go:22: cannot use z (type int) as type Reader in assignment: int does not implement Reader (missing Read method) x.go:24: too many arguments to conversion to complex: complex(1, 3) R=ken2 CC=golang-dev http://codereview.appspot.com/1736041
2010-06-08gc: new typechecking rulesRuss Cox1-2/+5
* 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
2010-05-06gc: distinguish array, slice literal in error messagesRuss Cox1-1/+4
R=ken2 CC=golang-dev http://codereview.appspot.com/1138041
2010-04-20gc: print x[y:] correctlyRuss Cox1-1/+2
R=ken2 CC=golang-dev http://codereview.appspot.com/955041
2010-04-01runtime: turn run time errors checks into panicsRuss Cox1-1/+4
R=ken2, r CC=golang-dev http://codereview.appspot.com/871042 Committer: Russ Cox <rsc@golang.org>
2010-03-24depricate paniclnKen Thompson1-2/+0
R=rsc CC=golang-dev http://codereview.appspot.com/743041
2010-03-08gc: simplify complex typecheckRuss Cox1-0/+20
do not convert to float prematurely. R=ken2 CC=golang-dev http://codereview.appspot.com/311041
2010-02-17new types complex, complex64 and complex128Ken Thompson1-0/+5
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
2010-02-01gc: add ... T, rework plain ...Russ Cox1-4/+13
No longer a distinct type; now a property of func types. R=ken2 CC=golang-dev http://codereview.appspot.com/197042
2010-01-26gc: fix chan <- chan precedence.Russ Cox1-2/+6
also allow func() func(). R=ken2 CC=golang-dev http://codereview.appspot.com/194078
2009-11-17install copy predefinedKen Thompson1-0/+2
did not test 386, but should work shouldnt matter if copy is not used R=rsc http://codereview.appspot.com/156055
2009-11-08bug212, bug213.Russ Cox1-0/+7
R=ken http://go/go-review/1026032
2009-11-08assorted cleanupRuss Cox1-1/+1
R=r, iant CC=go-dev http://go/go-review/1025024
2009-10-12new builtin.c.boot from arm.Russ Cox1-1/+46
node printing fixes. silence incorrect redeclaration error. R=ken OCL=35602 CL=35602
2009-08-24bug197Russ Cox1-0/+3
R=ken OCL=33765 CL=33765
2009-08-04type checking of assignments, switch, if, forRuss Cox1-0/+1
R=ken OCL=32716 CL=32720
2009-08-03more 6g reorg; checkpoint.Russ Cox1-1/+2
typecheck.c is now responsible for all type checking except for assignment and function argument "..." R=ken OCL=32661 CL=32667
2009-07-30typechecking checkpoint.Russ Cox1-24/+37
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
2009-07-29expression printer; %#NRuss Cox1-0/+272
R=ken OCL=32419 CL=32419