roc-lang / roc

A fast, friendly, functional language.
https://roc-lang.org
Universal Permissive License v1.0
4.41k stars 310 forks source link

unknown panic in unification code #2377

Closed BrianHicks closed 2 years ago

BrianHicks commented 2 years ago

When I build examples/webassembly/rbt.roc with Roc at at 82c7e8c37ee17700b9b68c8e0751bb3be355d413

thread '<unnamed>' panicked at 'not yet implemented: rec structure Apply(`3.IdentId(0)`, SubsSlice { start: 249, length: 0 })', compiler/unify/src/unify.rs:288:18
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

then it hangs

here's the commit that fails: https://github.com/rtfeldman/rbt/pull/15/commits/46dc98de8a1df188111988909679f1a4d56fbd37

ayazhafiz commented 2 years ago

This is no longer reproducible on trunk, and the panic has been replaced with an explicit type error. Closing.