rbt » ./roc examples/webassembly/rbt.roc
thread 'main' panicked at 'internal error: entered unreachable code: symbol/layout `pf.Rbt.job` ProcLayout { arguments: [Struct([Struct([Builtin(List(Builtin(Str))), Builtin(Str)]), Builtin(List(Builtin(Str)))])], result: Union(NonNullableUnwrapped([Struct([Struct([Builtin(List(Builtin(Str))), Builtin(Str)]), Builtin(List(Builtin(Str))), Builtin(List(RecursivePointer)), Builtin(List(Builtin(Str)))])])) } combo must be in DeclarationToIndex', compiler/mono/src/borrow.rs:227:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
I'm trying (and currently failing) to find the minimal set of changes that will either reproduce this problem or get around it, and will update when/if I find something smaller. That said, I've been able to get a smaller version of examples/webassembly/rbt.roc.
This passes the type checker and gets sent to the platform:
As of this commit: https://github.com/rtfeldman/rbt/pull/15/commits/c040ceb2fd373e7db6fcdf832981a5ee2ff64dfb, the compile fails with an unreachable error message:
I'm trying (and currently failing) to find the minimal set of changes that will either reproduce this problem or get around it, and will update when/if I find something smaller. That said, I've been able to get a smaller version of
examples/webassembly/rbt.roc
.This passes the type checker and gets sent to the platform:
this doesn't: