Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/compile: incorrect column reported for "struct literal does not implement" error #24689
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
This is a reasonable request and it's not hard to fix for the specific case, but we'll run into the same problem again when it's a different expression. The problem is that we currently don't have the infrastructure to determine the exact source code range [beg, end[ for arbitrary expressions, only specific ones.
I'm inclined to postpone this for now, pending a future replacement of type checking done directly on the syntax tree.