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
The declaration has some: priv T; results in a syntax error when T is a custom type. However, this syntax works without issues for primitive types like int or str. This inconsistency needs to be addressed.
To Reproduce
Create an object with a custom type using the has declaration.
Attempt to compile or run the code.
Expected Outcome:
The syntax should be consistent, allowing custom types in the has declaration without errors.
The text was updated successfully, but these errors were encountered:
Describe the bug
The declaration
has some: priv T;
results in a syntax error whenT
is a custom type. However, this syntax works without issues for primitive types likeint
orstr
. This inconsistency needs to be addressed.To Reproduce
has
declaration.Expected Outcome:
The syntax should be consistent, allowing custom types in the
has
declaration without errors.The text was updated successfully, but these errors were encountered: