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
d27e9f52
Commit
d27e9f52
authored
Mar 10, 2009
by
Ken Thompson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug086
R=r OCL=26090 CL=26090
parent
61815b83
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
6 deletions
+3
-6
src/cmd/gc/walk.c
src/cmd/gc/walk.c
+3
-1
test/fixedbugs/bug087.go
test/fixedbugs/bug087.go
+0
-0
test/golden.out
test/golden.out
+0
-5
No files found.
src/cmd/gc/walk.c
View file @
d27e9f52
...
...
@@ -733,7 +733,6 @@ loop:
goto
nottop
;
walktype
(
n
->
left
,
Erv
);
implicitstar
(
&
n
->
left
);
evconst
(
n
);
t
=
n
->
left
->
type
;
if
(
t
==
T
)
goto
ret
;
...
...
@@ -741,6 +740,9 @@ loop:
default:
goto
badt
;
case
TSTRING
:
if
(
whatis
(
n
->
left
)
==
Wlitstr
)
nodconst
(
n
,
types
[
TINT
],
n
->
left
->
val
.
u
.
sval
->
len
);
break
;
case
TMAP
:
break
;
case
TARRAY
:
...
...
test/bugs/bug087.go
→
test/
fixed
bugs/bug087.go
View file @
d27e9f52
File moved
test/golden.out
View file @
d27e9f52
...
...
@@ -115,11 +115,6 @@ abcxyz-abcxyz-abcxyz-abcxyz-abcxyz-abcxyz-abcxyz
=========== chan/nonblock.go
PASS
=========== bugs/bug087.go
bugs/bug087.go:8: illegal combination of literals LEN 9
bugs/bug087.go:8: illegal combination of literals LEN 9
BUG: fails incorrectly
=========== bugs/bug108.go
bugs/bug108.go:4: stupid shift: 1025
BUG: errchk: command succeeded unexpectedly: 6g bugs/bug108.go
...
...
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