CompileErrors/A0008
A0008 - Typecheck failed: infix expression has wrong type on left-hand side
Description
A0008 is issued when the LHS of an infix expression fails typechecking. For more details on typecheck errors, please see error A0004. In conjunction with A0008, you may also receive A0004 ending in "... got "invalid infix LHS"."
Example of Cause
The infix form of ADD#, "+", has a left-hand side which is a literal instead of a number.
'1' + 2 { A0008 - Typecheck failed: infix expression has wrong type on left-hand side }
Resolution
Correct the type of the infix LHS.
1 + 2 { No error }