1
0
mirror of https://github.com/golang/go synced 2024-11-12 06:40:22 -07:00
go/test/fixedbugs
Ian Lance Taylor db3ec4f239 Match gccgo error messages.
bug121.go:12:3: error: name list not allowed in interface type
bug121.go:16:2: error: expected signature or type name

semi1.go:10:76: error: unexpected semicolon or newline before ‘{’
semi1.go:10:5: error: reference to undefined name ‘x’
semi1.go:10:8: error: reference to undefined name ‘y’
semi1.go:12:3: error: reference to undefined name ‘z’

semi2.go:10:79: error: unexpected semicolon or newline before ‘{’
semi2.go:10:9: error: reference to undefined name ‘x’

semi3.go:10:79: error: unexpected semicolon or newline before ‘{’
semi3.go:10:6: error: reference to undefined name ‘x’
semi3.go:10:9: error: reference to undefined name ‘y’
semi3.go:10:12: error: reference to undefined name ‘z’
semi3.go:12:3: error: reference to undefined name ‘z’

semi4.go:11:2: error: unexpected semicolon or newline before ‘{’
semi4.go:10:6: error: reference to undefined name ‘x’
semi4.go:12:3: error: reference to undefined name ‘z’

semi5.go:10:1: error: unexpected semicolon or newline before ‘{’

semi7.go:11:2: error: unexpected semicolon or newline before ‘else’
semi7.go:10:5: error: reference to undefined name ‘x’

slice.go:9:11: error: missing lower bound in slice expression
slice.go:9:9: error: reference to undefined name ‘y’
slice.go:9:12: error: reference to undefined name ‘z’

R=rsc
CC=golang-dev
https://golang.org/cl/201061
2010-02-04 21:31:30 -08:00
..
bug083.dir use errchk in more places. 2009-07-30 16:46:14 -07:00
bug088.dir fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug106.dir unused imports 2009-09-17 10:27:04 -07:00
bug133.dir unused imports 2009-09-17 10:27:04 -07:00
bug160.dir add ./ to imports where necessary 2009-06-25 20:13:56 -07:00
bug191.dir unused imports 2009-09-17 10:27:04 -07:00
bug222.dir gc: minor import grammar bug fixes 2009-12-03 00:10:32 -08:00
bug226.dir gc: check for assignment to private fields during initialization 2009-12-03 22:09:58 -08:00
bug248.dir Fix for gccgo, which uses a package prefix. 2010-02-01 16:26:50 -08:00
bug000.go check in the bugs and fixed bugs 2008-06-06 16:56:18 -07:00
bug001.go update more tests to reflect tweaked grammar for if, switch 2008-06-16 12:16:11 -07:00
bug002.go update more tests to reflect tweaked grammar for if, switch 2008-06-16 12:16:11 -07:00
bug003.go update more tests to reflect tweaked grammar for if, switch 2008-06-16 12:16:11 -07:00
bug004.go update more tests to reflect tweaked grammar for if, switch 2008-06-16 12:16:11 -07:00
bug005.go check in the bugs and fixed bugs 2008-06-06 16:56:18 -07:00
bug006.go move things out of sys into os and runtime 2009-05-08 15:21:41 -07:00
bug007.go delete export 2009-01-20 14:40:40 -08:00
bug008.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug009.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug010.go update tests 2008-07-28 10:22:49 -07:00
bug011.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug012.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug013.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug014.go Check for specific error messages in the testsuite. This 2008-09-19 14:39:49 -07:00
bug015.go Check for specific error messages in the testsuite. This 2008-09-19 14:39:49 -07:00
bug016.go - updated test cases to latest compiler changes 2008-08-29 13:21:00 -07:00
bug017.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug020.go bug020 is fixed 2009-01-06 13:44:44 -08:00
bug021.go check in the bugs and fixed bugs 2008-06-06 16:56:18 -07:00
bug022.go last round: non-package code 2009-09-15 12:42:24 -07:00
bug023.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug024.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug026.go delete export 2009-01-20 14:40:40 -08:00
bug027.go insert type assertions when narrowing. 2009-02-11 17:55:16 -08:00
bug028.go delete export 2009-01-20 14:40:40 -08:00
bug030.go last round: non-package code 2009-09-15 12:42:24 -07:00
bug031.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug035.go delay := processing 2009-08-05 00:42:44 -07:00
bug036.go make test/fixedbugs save for optional semis 2009-12-10 11:25:54 -08:00
bug037.go use errchk in more places. 2009-07-30 16:46:14 -07:00
bug038.go new new & make 2009-01-06 15:19:02 -08:00
bug039.go fix up some irregular indentation 2009-08-17 13:30:22 -07:00
bug040.go update some tests 2008-06-23 17:13:33 -07:00
bug045.go code changes for array conversion. 2009-04-15 20:27:45 -07:00
bug046.go delete export 2009-01-20 14:40:40 -08:00
bug047.go last round: non-package code 2009-09-15 12:42:24 -07:00
bug048.go last round: non-package code 2009-09-15 12:42:24 -07:00
bug049.go Recognize gccgo error messages. 2009-08-13 09:42:28 -07:00
bug050.go use errchk in more places. 2009-07-30 16:46:14 -07:00
bug051.go fix up some irregular indentation 2009-08-17 13:30:22 -07:00
bug052.go fix up some irregular indentation 2009-08-17 13:30:22 -07:00
bug053.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug054.go insert type assertions when narrowing. 2009-02-11 17:55:16 -08:00
bug055.go make test/fixedbugs save for optional semis 2009-12-10 11:25:54 -08:00
bug056.go last round: non-package code 2009-09-15 12:42:24 -07:00
bug057.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug058.go fix up some irregular indentation 2009-08-17 13:30:22 -07:00
bug059.go move things out of sys into os and runtime 2009-05-08 15:21:41 -07:00
bug060.go move things out of sys into os and runtime 2009-05-08 15:21:41 -07:00
bug061.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug062.go fix up some irregular indentation 2009-08-17 13:30:22 -07:00
bug063.go update tests 2008-07-27 13:50:54 -07:00
bug064.go make test/fixedbugs save for optional semis 2009-12-10 11:25:54 -08:00
bug065.go last round: non-package code 2009-09-15 12:42:24 -07:00
bug066.go delete forward type declarations 2009-08-12 14:40:47 -07:00
bug067.go new new & make 2009-01-06 15:19:02 -08:00
bug068.go use errchk in more places. 2009-07-30 16:46:14 -07:00
bug069.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug070.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug071.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug072.go use errchk in more places. 2009-07-30 16:46:14 -07:00
bug073.go use errchk in more places. 2009-07-30 16:46:14 -07:00
bug074.go use errchk in more places. 2009-07-30 16:46:14 -07:00
bug075.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug076.go make test/fixedbugs save for optional semis 2009-12-10 11:25:54 -08:00
bug077.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug078.go change *map to map; *chan to chan; new(T) to new(*T) 2008-12-19 03:05:37 -08:00
bug080.go do not insert implicit "return;" in empty function body 2009-07-27 14:36:32 -07:00
bug081.go extend composite literal test. 2008-09-04 13:35:19 -07:00
bug082.go fix bug depot: 2008-08-11 22:07:49 -07:00
bug083.go This bug has been fixed; moving it from bugs to fixedbugs. 2008-11-12 21:59:43 -08:00
bug084.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug085.go convert non-pkg go files to whole-package compilation. 2009-08-12 13:18:54 -07:00
bug086.go Recognize gccgo error messages. 2009-08-13 09:42:28 -07:00
bug087.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug088.go compiler changes: 2008-09-22 12:45:01 -07:00
bug089.go make test/fixedbugs save for optional semis 2009-12-10 11:25:54 -08:00
bug090.go more 6g reorg; checkpoint. 2009-08-03 11:58:52 -07:00
bug091.go use errchk in more places. 2009-07-30 16:46:14 -07:00
bug092.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug093.go delete export 2009-01-20 14:40:40 -08:00
bug094.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug096.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug097.go fix up some irregular indentation 2009-08-17 13:30:22 -07:00
bug098.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug099.go delete export 2009-01-20 14:40:40 -08:00
bug101.go Automated g4 rollback of changelist 25024, 2009-03-03 08:39:12 -08:00
bug102.go make string take []byte only, so have to use *[10]byte to convert 2009-04-16 23:07:15 -07:00
bug103.go Recognize gccgo error messages. 2009-08-13 09:42:28 -07:00
bug104.go test update 2008-12-12 13:29:25 -08:00
bug106.go update fixed bugs (and delete an irrelevant one) 2008-10-17 11:48:51 -07:00
bug107.go unused imports 2009-09-17 10:27:04 -07:00
bug108.go warn -> yyerror in mparith. 2009-03-12 19:57:30 -07:00
bug109.go fix up some irregular indentation 2009-08-17 13:30:22 -07:00
bug110.go convert tests; nothing interesting. 2009-01-16 16:12:14 -08:00
bug111.go delete export 2009-01-20 14:40:40 -08:00
bug112.go Automated g4 rollback of changelist 25024, 2009-03-03 08:39:12 -08:00
bug113.go fix up some irregular indentation 2009-08-17 13:30:22 -07:00
bug114.go delete export 2009-01-20 14:40:40 -08:00
bug115.go ^ type(const) now inverts "enough" bits 2009-03-24 16:40:38 -07:00
bug116.go update tests 2008-10-30 13:26:57 -07:00
bug117.go fix up some irregular indentation 2009-08-17 13:30:22 -07:00
bug118.go fix up some irregular indentation 2009-08-17 13:30:22 -07:00
bug119.go update tests for CL 30586. 2009-06-25 14:44:09 -07:00
bug120.go move things out of sys into os and runtime 2009-05-08 15:21:41 -07:00
bug121.go Match gccgo error messages. 2010-02-04 21:31:30 -08:00
bug122.go canonicalize bug122.go 2009-06-22 14:40:08 -07:00
bug123.go fix up some irregular indentation 2009-08-17 13:30:22 -07:00
bug126.go update tests: nil is no longer integer-compatible 2008-12-10 13:55:47 -08:00
bug127.go fix up some irregular indentation 2009-08-17 13:30:22 -07:00
bug128.go bug128 is fixed 2008-12-04 20:51:47 -08:00
bug129.go unused imports 2009-09-17 10:27:04 -07:00
bug130.go fix up some irregular indentation 2009-08-17 13:30:22 -07:00
bug131.go fix up some irregular indentation 2009-08-17 13:30:22 -07:00
bug132.go cleaning up bug132 2009-11-02 09:42:53 -08:00
bug133.go bug133 2009-01-26 16:57:24 -08:00
bug135.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug136.go bug136 2009-10-19 20:39:18 -07:00
bug137.go bug 137 2009-03-11 16:25:45 -07:00
bug139.go bug 139 2009-04-28 13:52:56 -07:00
bug140.go bug140 is fixed 2009-06-06 19:28:01 -07:00
bug141.go move things out of sys into os and runtime 2009-05-08 15:21:41 -07:00
bug142.go bug142 is fixed 2009-04-10 17:58:10 -07:00
bug143.go last round: non-package code 2009-09-15 12:42:24 -07:00
bug144.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug145.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug146.go last round: non-package code 2009-09-15 12:42:24 -07:00
bug147.go Verify that a send on a sychronous channel waits until the 2009-05-02 12:47:33 -07:00
bug148.go move bug148, already fixed, to fixedbugs 2009-07-27 17:32:02 -07:00
bug149.go bug 149 2009-05-29 13:44:30 -07:00
bug150.go bug150 is fixed 2009-05-26 16:06:03 -07:00
bug151.go bug151, bug152 -> fixedbugs 2009-05-26 21:11:43 -07:00
bug152.go last round: non-package code 2009-09-15 12:42:24 -07:00
bug153.go bug 153 2009-05-27 18:37:02 -07:00
bug154.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug155.go bug 155 2009-05-29 14:42:24 -07:00
bug156.go bug 156 2009-05-29 15:34:47 -07:00
bug157.go bug157 2009-05-30 21:18:15 -07:00
bug158.go bug 158 2009-05-30 17:06:51 -07:00
bug159.go bug159 2009-08-07 16:47:54 -07:00
bug160.go 5l, 6l, 8l: accept only one object file 2010-01-25 17:53:43 -08:00
bug161.go bug161, fixed 2009-06-04 16:18:13 -07:00
bug163.go unused imports 2009-09-17 10:27:04 -07:00
bug164.go bug163 bug164 bug166 2009-06-29 17:46:22 -07:00
bug165.go Match gccgo error messages. 2009-08-17 17:40:52 -07:00
bug167.go bug167 2009-07-07 11:48:22 -07:00
bug168.go bug168 (dsymonds) + fix 2009-07-09 12:08:50 -07:00
bug169.go bug169 2009-10-19 19:55:17 -07:00
bug170.go more 6g reorg; checkpoint. 2009-08-03 11:58:52 -07:00
bug171.go Recognize gccgo error messages. 2009-08-13 09:42:28 -07:00
bug172.go Recognize gccgo error messages. 2009-08-13 09:42:28 -07:00
bug173.go last round: non-package code 2009-09-15 12:42:24 -07:00
bug174.go print(1<<x) 2009-07-27 16:17:09 -07:00
bug175.go multiple return in := bug 2009-07-27 16:59:10 -07:00
bug176.go constant keys for array initializers 2009-07-27 17:58:25 -07:00
bug177.go unused imports 2009-09-17 10:27:04 -07:00
bug178.go break and continue fixes 2009-07-29 14:49:01 -07:00
bug179.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug180.go get function calls out of the way before 2009-08-04 19:16:57 -07:00
bug181.go bug181 - type T *struct { T } is an invalid embedded type 2009-08-07 13:14:01 -07:00
bug182.go Recognize gccgo error messages. 2009-08-13 09:42:28 -07:00
bug183.go last round: non-package code 2009-09-15 12:42:24 -07:00
bug184.go last round: non-package code 2009-09-15 12:42:24 -07:00
bug185.go bug185 - return b,a from func() (a,b int) 2009-08-07 14:38:31 -07:00
bug186.go defining package block names must override 2009-09-09 01:01:39 -07:00
bug187.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug188.go unused imports 2009-09-17 10:27:04 -07:00
bug189.go last round: non-package code 2009-09-15 12:42:24 -07:00
bug190.go bug190. 2009-10-19 18:47:37 -07:00
bug191.go unused imports 2009-09-17 10:27:04 -07:00
bug192.go Match gccgo error messages. 2009-08-24 15:56:39 -07:00
bug193.go address bug193 and add note to spec about it. 2009-10-20 08:27:14 -07:00
bug194.go make test/fixedbugs save for optional semis 2009-12-10 11:25:54 -08:00
bug195.go gc: bug250, bug251 - recursive interface types 2010-02-01 23:58:49 -08:00
bug196.go bug196 2009-10-19 21:10:29 -07:00
bug197.go Match gccgo error messages. 2009-08-31 21:39:08 -07:00
bug198.go add & fix bug208, from ken. 2009-10-08 23:03:34 -07:00
bug199.go array index bug 2009-08-30 18:47:48 -07:00
bug200.go type switch bug involving function parameter names 2009-09-01 18:04:49 -07:00
bug201.go last round: non-package code 2009-09-15 12:42:24 -07:00
bug202.go fix "declared and not used" in tests; 2009-09-14 21:03:53 -07:00
bug203.go make test/fixedbugs save for optional semis 2009-12-10 11:25:54 -08:00
bug204.go last round: non-package code 2009-09-15 12:42:24 -07:00
bug205.go Match gccgo error messages. 2009-10-21 11:42:09 -07:00
bug206.go fix bug206. 2009-09-10 17:33:01 -07:00
bug207.go add & fix bug207: rewritten if condition 2009-10-07 22:19:42 -07:00
bug208.go add & fix bug208, from ken. 2009-10-08 23:03:34 -07:00
bug209.go bug209 2009-10-09 16:01:32 -07:00
bug211.go 6g bug fixes: 2009-10-19 19:27:40 -07:00
bug212.go bug212, bug213. 2009-11-08 23:22:06 -08:00
bug213.go bug212, bug213. 2009-11-08 23:22:06 -08:00
bug214.go gc: five bug fixes, one better error. 2009-11-15 12:57:09 -08:00
bug215.go Tweak test to work with both 6g and gccgo. 2009-12-15 13:57:24 -08:00
bug216.go gc: five bug fixes, one better error. 2009-11-15 12:57:09 -08:00
bug217.go gc: five bug fixes, one better error. 2009-11-15 12:57:09 -08:00
bug218.go gc: handle _ = <-c in select. 2009-12-03 01:30:19 -08:00
bug219.go gc: bug219, bug239, bug240 2010-01-07 23:24:48 -08:00
bug220.go gc: correct type check for x, ok map assignment 2009-11-24 16:11:48 -08:00
bug221.go gc: function argument ordering bug 2009-12-02 23:54:51 -08:00
bug222.go gc: minor import grammar bug fixes 2009-12-03 00:10:32 -08:00
bug223.go gc: better diagnosis of initialization loops 2009-12-03 00:51:03 -08:00
bug224.go gc: recursive type error 2009-12-03 01:12:02 -08:00
bug225.go gc: handle _ = <-c in select. 2009-12-03 01:30:19 -08:00
bug226.go gc: check for assignment to private fields during initialization 2009-12-03 22:09:58 -08:00
bug227.go gc: var x, ok = m[y] 2009-12-15 14:26:33 -08:00
bug228.go Recognize gccgo error messages. 2010-01-29 22:38:39 -08:00
bug229.go gc: bug fixes. 2009-12-15 16:22:04 -08:00
bug230.go gc: bug fixes. 2009-12-15 16:22:04 -08:00
bug231.go Match gccgo error message. 2010-01-30 11:31:06 -08:00
bug232.go gc: allow ... in method lists 2009-12-15 16:20:37 -08:00
bug233.go gc: fix import name resolution 2009-12-15 16:44:28 -08:00
bug234.go runtime: return zero value in x, ok = <-c when ok == false 2009-12-15 16:59:23 -08:00
bug235.go gc: fix compiler crash 2009-12-17 15:08:55 -08:00
bug236.go More evaluation order tests, for global variables and switch. 2009-12-18 21:59:47 -08:00
bug237.go Add a test for issue 337. 2009-12-23 22:08:27 -08:00
bug238.go Match gccgo error messages. 2010-01-30 11:38:06 -08:00
bug239.go gc: bug219, bug239, bug240 2010-01-07 23:24:48 -08:00
bug240.go gc: bug219, bug239, bug240 2010-01-07 23:24:48 -08:00
bug241.go gc: bug241 2010-01-07 23:20:00 -08:00
bug242.go gc: bug242 2010-02-01 22:18:51 -08:00
bug243.go gc: bug243 2010-01-18 16:52:18 -08:00
bug244.go gc: multiple return value at top-level invoked multiple times 2010-01-18 17:00:38 -08:00
bug245.go gc: bug245 2010-01-18 17:30:15 -08:00
bug246.go gc: bug246 2010-02-01 23:05:15 -08:00
bug247.go gc: bug247, reported by rob 2010-01-24 22:42:18 -08:00
bug248.go runtime, type switch: eliminate package global name space assumption 2010-01-25 18:23:20 -08:00
bug249.go Match gccgo error messages. 2010-02-01 23:27:33 -08:00
bug250.go gc: bug250, bug251 - recursive interface types 2010-02-01 23:58:49 -08:00
bug251.go gc: bug250, bug251 - recursive interface types 2010-02-01 23:58:49 -08:00
bug252.go bug252: make ... vs ...T crossing an error, at least for now 2010-02-02 15:00:13 -08:00