Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
8022a1a5
Commit
8022a1a5
authored
Jun 07, 2012
by
Russ Cox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cmd/gc: mark output of typename as type-checked
R=ken2 CC=golang-dev
https://golang.org/cl/6302051
parent
c8fac7b9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
reflect.c
src/cmd/gc/reflect.c
+2
-0
No files found.
src/cmd/gc/reflect.c
View file @
8022a1a5
...
...
@@ -640,6 +640,7 @@ typename(Type *t)
n
->
ullman
=
1
;
n
->
class
=
PEXTERN
;
n
->
xoffset
=
0
;
n
->
typecheck
=
1
;
s
->
def
=
n
;
signatlist
=
list
(
signatlist
,
typenod
(
t
));
...
...
@@ -649,6 +650,7 @@ typename(Type *t)
n
->
type
=
ptrto
(
s
->
def
->
type
);
n
->
addable
=
1
;
n
->
ullman
=
2
;
n
->
typecheck
=
1
;
return
n
;
}
...
...
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