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
cuonglm
changed the title
cmd/compile/internal/syntax
cmd/compile/internal/syntax: unclear error message for function type have type parameters
Sep 14, 2021
gopherbot
removed
the
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
label
Sep 14, 2021
The fix is not hard but it's also subtle due to the way func type parsing is used in various places. If we address this, it needs to be a comprehensive fix which requires some careful parser changes.
This looks straight-forward to address, after all.
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
Compile this program:
What did you expect to see?
Friendly error message, like
gotype
:What did you see instead?
cc @griesemer @findleyr
The text was updated successfully, but these errors were encountered: