Closed
Description
When compiling code with Enums, unless a clean compile is done, then at runtime when an Enum is encountered (for example, here I have an enum Operator ...
) an error like the following is triggered:
[error] (run-main-b) java.lang.VerifyError: Bad type on operand stack
[error] Exception Details:
[error] Location:
[error] compiler/Parser.createTable()Lscala/collection/immutable/List; @10: invokevirtual
[error] Reason:
[error] Type 'compiler/expr/Operator$' (current frame, stack[3]) is not assignable to 'compiler/expr/Operator'
[error] Current Frame:
[error] bci: @10
[error] flags: { }
[error] locals: { 'compiler/ChimeraParser' }
[error] stack: { uninitialized 0, uninitialized 0, 'scala/Predef$', 'compiler/expr/Operator$' }
[error] Bytecode:
[error] 0000000: bb00 4a59 b200 b3b2 02bf b602 c3b6 02c7
[error] 0000010: b702 cab9 02cf 0100 b202 d2b9 02d8 0200
[error] 0000020: c002 da2a ba02 e300 00b2 02e8 b602 ecb6
[error] 0000030: 02ef c002 dab0
This is running 0.16.0-RC3 cross compiling with a 2.12.8 library.