Can write to immutable parts of a type. #118
Labels
A-type-system
Area: Type system
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Each pair of lines in the following function:
shouldn't make it past the typechecking phase, but do. Also, the following object definition makes it past the typechecker:
but should not. Fix the typechecker to disallow writing to immutable type-parts.
The text was updated successfully, but these errors were encountered: