Open greenhat opened 2 months ago
Hitting panic in the BlockEmitter::emit_inst https://github.com/0xPolygonMiden/compiler/blob/c2053e6b6f568486df7a05498a89f8c51d586a64/codegen/masm/src/codegen/emitter.rs#L246-L248
BlockEmitter::emit_inst
How to reproduce:
expect_masm
types::test_enum
https://github.com/0xPolygonMiden/compiler/blob/2ccdf23fa606ef0ba29f734394ad7dae6ff566a6/tests/integration/src/rust_masm_tests/types.rs#L11
Hmm, looks like we never actually lower these to a chain of if/then/else in our pipeline. I'll add this to my TODO for the IR refactoring
Hitting panic in the
BlockEmitter::emit_inst
https://github.com/0xPolygonMiden/compiler/blob/c2053e6b6f568486df7a05498a89f8c51d586a64/codegen/masm/src/codegen/emitter.rs#L246-L248How to reproduce:
expect_masm
intypes::test_enum
integration test added in #280https://github.com/0xPolygonMiden/compiler/blob/2ccdf23fa606ef0ba29f734394ad7dae6ff566a6/tests/integration/src/rust_masm_tests/types.rs#L11