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
Notice that vacant uses pub to declare that the field is public. We know that we want to allow pub qualifier which will become most relevant for when structs are allowed to have methods. This is why the parser does already recognize it. However, it doesn't have any effect yet.
How can it be fixed
Define how visibility of struct fields should work exactly
Make the relevant changes to analyzer and mapper pass
The text was updated successfully, but these errors were encountered:
What is wrong?
When #203 lands, we'll have basic support for structs.
Notice that
vacant
usespub
to declare that the field is public. We know that we want to allowpub
qualifier which will become most relevant for when structs are allowed to have methods. This is why the parser does already recognize it. However, it doesn't have any effect yet.How can it be fixed
The text was updated successfully, but these errors were encountered: