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
I think this needs a special-casing: if an AST ends up with anexpression::UnresolvedOperator node, check if its Kind::Member and if so, see if the reason why it couldn't be resolved is because there's no such field in the type; then report it as such instead of the generic error message. We already do similar special-casing for Kind::MemberCall to show candidate functions.
* origin/topic/robin/gh-1790-unknown-field:
Prioritize error message reporting unknown field.
Provide proper error message when trying access an unknown unit field.
Very minor, but "unsupported operator" for a typo'ed field doesn't seem quite appropriate.
The text was updated successfully, but these errors were encountered: