Closed TwitchBronBron closed 10 months ago
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
closed
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.