You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. add a package test with
package test
const a = 1
const A = a
2. run "go tool api test"
What is the expected output? What do you see instead?
Expected:
pkg test, const A ideal-int
Got:
2012/02/07 21:41:42 unknown kind in const "A" (*ast.Ident): can't resolve
existing constant "a"
The gccgo syscall package uses such things:
const O_APPEND = _O_APPEND
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: