1
0
mirror of https://github.com/golang/go synced 2024-11-25 02:27:56 -07:00
go/test/fixedbugs
Russ Cox a338231526 gc: five bug fixes, one better error.
* 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 #86.
Fixes #88.
Fixes #158.
Fixes #174.
Fixes #201.
Fixes #204.

R=ken2
https://golang.org/cl/154144
2009-11-15 12:57:09 -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
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 update some tests 2008-06-23 17:13:33 -07: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 fix "declared and not used" in tests; 2009-09-14 21:03:53 -07: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 bug064 2009-02-05 15:22:49 -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 update tests 2008-09-03 13:21:05 -07: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 insert type assertions when narrowing. 2009-02-11 17:55:16 -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 disallow interface { x, y() } 2009-09-28 14:05:34 -07: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
bug125.go warn -> yyerror in mparith. 2009-03-12 19:57:30 -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 fix handling of floating point zero constant 0p+0 2009-06-04 11:06:37 -07: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
bug166.go bug163 bug164 bug166 2009-06-29 17:46:22 -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 defining package block names must override 2009-09-09 01:01:39 -07:00
bug195.go more interface embedding tests 2009-08-21 21:30:24 -07: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 fix one bug involving [...] constructors. 2009-09-02 23:26:13 -07: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 gc: five bug fixes, one better error. 2009-11-15 12:57:09 -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