sniprun icon indicating copy to clipboard operation
sniprun copied to clipboard

go file cant process dot import.

Open soluty opened this issue 2 years ago • 2 comments

Describe the bug i use dot report in .go file, it cant work fine.

To Reproduce foo/foo.go content:

func Foo() {
   print(123)
}

main.go content:

import . "foo" 
func main() {
   Foo()
}

then i run SnipRun in line Foo(), and it cant compile fine.

Expected behavior it can process the situation with dot import .

soluty avatar Sep 11 '23 12:09 soluty