Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Single dot import error #6

Open
cornelk opened this issue Jun 4, 2022 · 0 comments
Open

Single dot import error #6

cornelk opened this issue Jun 4, 2022 · 0 comments

Comments

@cornelk
Copy link
Contributor

cornelk commented Jun 4, 2022

flint shows an error when using a single dot import line in a file:

internal/ast/nes.go => plugin 'imports' failed: invalid one liner import : import . "github.com/retroenv/nesgo/pkg/addressing"

the import is:

import . "github.com/retroenv/nesgo/pkg/addressing"

what works instead:

import (
	. "github.com/retroenv/nesgo/pkg/addressing"
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant