mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 07:14:46 +00:00
a working state again
This commit is contained in:
parent
c4e2b4f5cc
commit
c85fa58648
6 changed files with 580 additions and 233 deletions
|
@ -1015,6 +1015,7 @@ fn path_to_expr_help<'a>(
|
|||
..
|
||||
} => {
|
||||
use std::cmp::Ordering;
|
||||
dbg!(nullable_id, tag_id);
|
||||
match (*tag_id as usize).cmp(&(*nullable_id as usize)) {
|
||||
Ordering::Equal => {
|
||||
&*env.arena.alloc([Layout::Builtin(nullable_layout.clone())])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue