Skip to content

Single dot import error #6

@cornelk

Description

@cornelk

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"
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions