drop the tag!

This commit is contained in:
Folkert 2021-01-17 02:26:04 +01:00
parent 897bc41b6b
commit c1265574b3
6 changed files with 48 additions and 34 deletions

View file

@ -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

View file

@ -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(),