sniprun
sniprun copied to clipboard
go file cant process dot import.
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 .