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
{{ message }}
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.
It would be great if the ergo error produced for a reference to a non-existent field was clearer.
Currently if I run the following code:
ergo$ return { name: "Bob"}.firstName
I get the following error:
Type error (at line 1 col 7). This operator received an unexpected argument of type `{name: String}'.
return { name: "Bob"}.firstname
^^^^^^^^^^^^^^^^^^^^^^^^
I would like to get something like:
Type error (at line 1 col 7). Field 'firstname' does not exist for type `{name: String}'.
return { name: "Bob"}.firstname
^^^^^^^^^^^^^^^^^^^^^^^^
The text was updated successfully, but these errors were encountered:
It would be great if the ergo error produced for a reference to a non-existent field was clearer.
Currently if I run the following code:
I get the following error:
I would like to get something like:
The text was updated successfully, but these errors were encountered: