summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)AuthorFilesLines
2011-09-13Imported Upstream version 60upstream/60Ondřej Surý681-0/+62783
2011-09-13Imported Upstream version 60Ondřej Surý660-62017/+0
2011-08-03Imported Upstream version 59upstream/59Ondřej Surý16-20/+674
2011-06-30Imported Upstream version 58upstream/58Ondřej Surý16-13/+245
2011-06-16Imported Upstream version 57.2upstream/57.2Ondřej Surý1-0/+22
2011-04-28Imported Upstream version 2011.04.27upstream/2011.04.27Ondřej Surý24-15/+516
2011-04-26Imported Upstream version 2011.04.13upstream/2011.04.13Ondřej Surý47-209/+659
2011-04-20Imported Upstream version 2011.03.07.1upstream/2011.03.07.1Ondřej Surý19-153/+247
2011-02-18Imported Upstream version 2011.02.15upstream/2011.02.15Ondřej Surý9-4/+173
2011-02-14Imported Upstream version 2011-02-01.1upstream/2011-02-01.1Ondřej Surý80-3161/+4067
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý199-3701/+6867
2010-06-30test: override gcc bug when preparing complex divide tablesRuss Cox2-8/+30
R=iant CC=golang-dev http://codereview.appspot.com/1666048
2010-06-308g: out of register bug fixRuss Cox2-0/+29
Fixes issue 868. R=ken2 CC=golang-dev http://codereview.appspot.com/1695049
2010-06-23gc: fix crash for nested complex divisionRuss Cox1-0/+6
R=ken2 CC=golang-dev http://codereview.appspot.com/1720043
2010-06-21test: another listen on ":0" -> "127.0.0.1:0"Russ Cox1-1/+1
R=r CC=golang-dev http://codereview.appspot.com/1664043
2010-06-21reflect: add Type.Bits method, add tags to prohibit conversionsRuss Cox1-3/+0
gob: substitute slice for map R=r CC=golang-dev http://codereview.appspot.com/1699045
2010-06-20undo changes accidentally included in 09c5add99d50Russ Cox1-0/+2
R=ken2 CC=golang-dev http://codereview.appspot.com/1736042
2010-06-20errchk: fix build - allow matches in multiline error messagesRuss Cox1-1/+6
TBR=r CC=golang-dev http://codereview.appspot.com/1734042
2010-06-20gc: better error messages for interface failures, conversionsRuss Cox1-2/+0
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-18test: add missing import for zerodivideChristopher Wedgwood1-0/+1
R=rsc CC=golang-dev, r http://codereview.appspot.com/1706043 Committer: Russ Cox <rsc@golang.org>
2010-06-18complex divide: match C99 implementationRuss Cox6-18/+2522
R=iant, ken2, r, r2, ken3 CC=golang-dev http://codereview.appspot.com/1686044
2010-06-14runtime: correct fault for 16-bit divide on LeopardRuss Cox2-12/+4
R=r CC=golang-dev http://codereview.appspot.com/1703041
2010-06-14fmt.Print*: reimplement to switch on type first.Rob Pike1-1/+1
This shortens, simplifies and regularizes the code significantly. (Improvements to reflect could make another step.) Passes all.bash. One semantic change occurs: The String() method changes behavior. It used to run only for string formats such as %s and %q. Instead, it now runs whenever the item has the method and the result is then processed by the format as a string. Besides the regularization, this has three effects: 1) width is honored for String() items 2) %x works for String() items 3) implementations of String that merely recur will recur forever Regarding point 3, example from the updated documentation: type X int func (x X) String() string { return Sprintf("%d", x) } should cast the value before recurring: func (x X) String() string { return Sprintf("%d", int(x)) } R=rsc CC=golang-dev http://codereview.appspot.com/1613045
2010-06-14Add test for division by zero.Rob Pike2-0/+180
It fails with 6g. Once 6g is fixed up I will extend the value tests. R=rsc, iant CC=golang-dev http://codereview.appspot.com/1677043
2010-06-14remove uses of ... from tree, add one testRuss Cox4-21/+7
R=r CC=golang-dev http://codereview.appspot.com/1662041
2010-06-12gc: less aggressive name binding, for better line numbers in errorsRuss Cox1-0/+44
Cleans up a few other corner cases too. R=ken2 CC=golang-dev http://codereview.appspot.com/1592045
2010-06-10test: check that surrogate pair runes and huge rune values are rejectedRuss Cox1-0/+25
R=r CC=golang-dev http://codereview.appspot.com/1615042
2010-06-09bug286: test caseRobert Griesemer2-0/+101
R=r CC=golang-dev http://codereview.appspot.com/1644042
2010-06-09gc: more cleanupRuss Cox1-1/+20
* disallow surrogate pair runes. * diagnose impossible type assertions * eliminate another static buffer. * do not overflow lexbuf. * add -u flag to disable package unsafe. R=ken2 CC=golang-dev http://codereview.appspot.com/1619042
2010-06-08fix build: invalid character literalsRuss Cox1-6/+6
R=r CC=golang-dev http://codereview.appspot.com/1631041
2010-06-08gc: new typechecking rulesRuss Cox12-392/+712
* 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-06-08misc cleanup: gofmt + &x -> x[0:] conversionRuss Cox3-115/+116
R=gri CC=golang-dev http://codereview.appspot.com/1620042
2010-06-08fix buildRuss Cox2-21/+22
R=gri CC=golang-dev http://codereview.appspot.com/1616041
2010-06-08bug284: make conversion legal, fix error patternsRuss Cox1-6/+10
R=gri CC=golang-dev http://codereview.appspot.com/1612041
2010-06-08bug285: delete invalid map assignmentRuss Cox1-3/+1
*T2 implements I2, but T2 does not. R=gri CC=golang-dev http://codereview.appspot.com/1613041
2010-06-03Added regex-dna-parallel.go, a pretty trivial parallelization.Kyle Consalus3-0/+138
R=rsc, r CC=golang-dev http://codereview.appspot.com/972046 Committer: Rob Pike <r@golang.org>
2010-06-03bug285: assignment compatible map keys must be acceptedRobert Griesemer2-0/+132
R=r CC=golang-dev http://codereview.appspot.com/1473042
2010-06-02bug284: additional conversion test caseRobert Griesemer2-4/+13
R=r, iant CC=golang-dev http://codereview.appspot.com/1433042
2010-06-02bug284: test cases for new conversion rulesRobert Griesemer2-0/+218
R=rsc, r, iant CC=golang-dev http://codereview.appspot.com/1465041
2010-05-248g: out of register bugRuss Cox1-0/+19
Fixes issue 806. R=ken2 CC=golang-dev http://codereview.appspot.com/1281042
2010-05-24gc: more accurate error descriptionRuss Cox2-2/+2
R=ken2 CC=golang-dev http://codereview.appspot.com/1284041
2010-05-24gc: fix shift/reduce conflict in go.y export syntaxRuss Cox3-0/+25
Fixes issue 771. R=ken2 CC=golang-dev http://codereview.appspot.com/1267042
2010-05-24gc: bug281 - bad overlap in stack copyRuss Cox1-0/+55
Fixes issue 807. R=ken2 CC=golang-dev http://codereview.appspot.com/1283041
2010-05-24fix build - forgot golden.outRuss Cox1-12/+0
R=ken2 CC=golang-dev http://codereview.appspot.com/1274042
2010-05-24gc: bug277 - new conversion syntaxRuss Cox1-0/+0
R=ken2 CC=golang-dev http://codereview.appspot.com/1220046
2010-05-24gc: bug280Russ Cox1-0/+13
Fixes issue 808. R=ken2 CC=golang-dev http://codereview.appspot.com/1273042
2010-05-24gc: bug278Russ Cox1-0/+23
Fixes issue 804. R=ken2 CC=golang-dev http://codereview.appspot.com/1224045
2010-05-24gc: fix unsafe.Sizeof on ideal constantsRuss Cox1-0/+36
R=ken2 CC=golang-dev http://codereview.appspot.com/1280041
2010-05-24bug277: tests for conversion syntaxRobert Griesemer2-0/+84
- accepted by gccgo, gofmt - some not accepted by 6g - spec revision forthcoming R=rsc CC=golang-dev http://codereview.appspot.com/1279041
2010-05-21test/hilbert.go: convert to test case and benchmark for big.RatRobert Griesemer1-166/+0
R=rsc CC=golang-dev http://codereview.appspot.com/1231044 Committer: Robert Griesemer <gri@golang.org>