Generating bytecode: unknown instruction 'eqR_a' when using pattern-match with Real constant value
The following program compiles (and should), but generating bytecode gives an error:
Compiling Example
Optimising Example
Generating bytecode for Example
Unknown instruction 'eqR_a' at line 97.
Generating bytecode failed
Minimal program:
module Example
:: T = C Real
g :: T -> Bool
g t = case t of
C 0.0 = True
_ = False
Start = g (C 0.0)