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

Erroneous detection of -- as comment (breaks golang code completion) #104

Open
hansinator opened this issue Jan 10, 2023 · 0 comments
Open

Comments

@hansinator
Copy link

The -- in the referenced line is detected as the start of an SQL comment inside a golang annotation string which effectively swallows the closing ". This breaks the golang source interpretation, flagging large parts of the source as string.

Offending line:
https://github.com/immune-gmbh/agent/blob/v3.8.10/cmd/main.go#L73

image

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