Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
go
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
go
Commits
b7dd312c
Commit
b7dd312c
authored
Jul 27, 2009
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug170; fix test for bug175
R=ken OCL=32255 CL=32255
parent
a587d9a7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
10 deletions
+5
-10
src/cmd/gc/const.c
src/cmd/gc/const.c
+5
-1
test/fixedbugs/bug170.go
test/fixedbugs/bug170.go
+0
-0
test/golden.out
test/golden.out
+0
-9
No files found.
src/cmd/gc/const.c
View file @
b7dd312c
...
...
@@ -145,10 +145,14 @@ convlit1(Node **np, Type *t, int explicit)
// let normal conversion code handle it
return
;
case
TARRAY
:
if
(
!
isslice
(
t
))
goto
bad
;
break
;
case
TPTR32
:
case
TPTR64
:
case
TINTER
:
case
TARRAY
:
case
TMAP
:
case
TCHAN
:
case
TFUNC
:
...
...
test/bugs/bug170.go
→
test/
fixed
bugs/bug170.go
View file @
b7dd312c
File moved
test/golden.out
View file @
b7dd312c
...
...
@@ -109,9 +109,6 @@ BUG: should fail
=========== bugs/bug169.go
BUG: errchk: command succeeded unexpectedly
=========== bugs/bug170.go
BUG: errchk: command succeeded unexpectedly
=========== fixedbugs/bug016.go
fixedbugs/bug016.go:7: constant -3 overflows uint
...
...
@@ -235,9 +232,3 @@ fixedbugs/bug131.go:7: illegal types for operand: AS
fixedbugs/bug133.dir/bug2.go:11: undefined: bug0.T field i
fixedbugs/bug133.dir/bug2.go:11: illegal types for operand: RETURN
int
=========== fixedbugs/bug175.go
fixedbugs/bug175.go:8: use of multi func value as single value in :=
fixedbugs/bug175.go:8: undefined: x
fixedbugs/bug175.go:8: illegal types for operand: AS
(int, bool)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment