Skip to content

go file cant process dot import. #249

@soluty

Description

@soluty

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 .

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions