mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 15:21:12 +00:00
drop the tag!
This commit is contained in:
parent
897bc41b6b
commit
c1265574b3
6 changed files with 48 additions and 34 deletions
|
@ -1020,7 +1020,6 @@ 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 => {
|
||||
// the nullable tag is going to pretend it stores a tag id
|
||||
|
|
|
@ -6225,8 +6225,6 @@ fn from_can_pattern_help<'a>(
|
|||
} => {
|
||||
debug_assert!(!other_fields.is_empty());
|
||||
|
||||
dbg!(nullable_id, &nullable_name);
|
||||
|
||||
ctors.push(Ctor {
|
||||
tag_id: TagId(nullable_id as u8),
|
||||
name: nullable_name.clone(),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue