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
It's harder to say "Unknown identifier x" in type declarations because an unknown identifier per se is not an error. It may be a forward declaration of a recursive type. But I agree the message is confusing.
vtereshkov
changed the title
Confusing error messages in struct fields.
Confusing error messages in type declarations
May 28, 2024
Will show
; expected but . found
, instead of the usual "Unknown identifier x". Seems to be related to how pointers in structs work.Will show
; expected but :: found
, instead of the usual "Unknown identifier x".The text was updated successfully, but these errors were encountered: