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 problem is that the parser considers an ArrayAccess anything that matches x(y) = z. The typechecker goes along and considers that the AST node given by the parser is an array, and tries to typecheck it incorrectly, crashing the compiler.
This has been shown in #823 and also in this example:
activeclassMaindefmain(): unitvalx=3x(1)=2endend
Error thrown:
encorec: No match in record selector argTypes
The text was updated successfully, but these errors were encountered:
The problem is that the parser considers an
ArrayAccess
anything that matchesx(y) = z
. The typechecker goes along and considers that the AST node given by the parser is an array, and tries to typecheck it incorrectly, crashing the compiler.This has been shown in #823 and also in this example:
Error thrown:
The text was updated successfully, but these errors were encountered: