mirror of
https://github.com/roc-lang/roc.git
synced 2025-12-23 08:48:03 +00:00
When closures are transformed to tags, the transformed expressions don't have valid type variables in the type store. This caused incorrect types like "Str", "[]", "[Error]" to appear in the MONO section. The fix uses the pattern's type variable (set during type checking before transformation) instead of looking at the transformed expression's type. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| cli | ||
| fuzzing | ||
| fx | ||
| fx-open | ||
| int | ||
| playground-integration | ||
| snapshots | ||
| str | ||
| wasm | ||
| serialization_size_check.zig | ||