You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a file includes cgo code, the Go Doctor appears to map the user's selection to a completely incorrect AST node. This is because tokens' reported offsets do not correspond to the actual locations of the tokens in the original source file (probably due to cgo preprocessing). Tokens' line/column information is correct--it does match the original locations in the file--but the offsets appear to be quite different.
The text was updated successfully, but these errors were encountered:
When a file includes cgo code, the Go Doctor appears to map the user's selection to a completely incorrect AST node. This is because tokens' reported offsets do not correspond to the actual locations of the tokens in the original source file (probably due to cgo preprocessing). Tokens' line/column information is correct--it does match the original locations in the file--but the offsets appear to be quite different.
The text was updated successfully, but these errors were encountered: