Open dlsniper opened 8 years ago
I've noticed while working on: https://github.com/go-lang-plugin-org/go-lang-idea-plugin/pull/2699 that the following code is resolving incorrectly:
package main import "fmt" var fmt, _ = fmt.Println("demo") func main() { fmt.Println("demo") // fmt here resolves to the import not to the variable declaration at the package level }
Commit hash: 9c3f29b775846912e9f4ac35e084e8b371dba7cf
@dlsniper It isn't possible to define package level variable same named as import alias
I've noticed while working on: https://github.com/go-lang-plugin-org/go-lang-idea-plugin/pull/2699 that the following code is resolving incorrectly:
Commit hash: 9c3f29b775846912e9f4ac35e084e8b371dba7cf