We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A common issue i come across with my coding is trying to clone a type and change one field with 'with' syntax like
character := { character with items = newItemIds; };
but i had done a rename/made a typo, but i get no warning/error
It really should be itemIds, not items, so essentially the character is just cloned, and the new field is discarded
itemIds
items
character := { character with itemIds = newItemIds; };
i guess it kinda ties in with another issue which i think i logged about just setting fields that are immediately discarded on type creation
The text was updated successfully, but these errors were encountered:
No branches or pull requests
A common issue i come across with my coding is trying to clone a type and change one field with 'with' syntax like
but i had done a rename/made a typo, but i get no warning/error
It really should be
itemIds
, notitems
, so essentially the character is just cloned, and the new field is discardedi guess it kinda ties in with another issue which i think i logged about just setting fields that are immediately discarded on type creation
The text was updated successfully, but these errors were encountered: