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
With the new type validations in v0.66.0 alphas, we should be able to assign a specific type to classes, and therefore validate type mismatches for class members. Line 3 should be an error because we're assigning an integer to a string.
The text was updated successfully, but these errors were encountered:
If lhs of assignment is a dotted get expression, then we can use isTypeCompatible of left vs. The rhs type. This should also catch when we do assignments for components to make sure the type is correct
With the new type validations in v0.66.0 alphas, we should be able to assign a specific type to classes, and therefore validate type mismatches for class members. Line 3 should be an error because we're assigning an integer to a string.
The text was updated successfully, but these errors were encountered: