Also store f64 for things like pattern comparisons, etc

This commit is contained in:
Jared Ramirez 2021-08-18 17:18:13 -07:00
parent adabf70132
commit d69b9173fc
18 changed files with 195 additions and 252 deletions

View file

@ -142,7 +142,7 @@ fn pattern_to_doc_help<'b>(
Bit(true) => alloc.text("True"),
Bit(false) => alloc.text("False"),
Byte(b) => alloc.text(b.to_string()),
Float(f) => alloc.text(f.to_string()),
Float(_, f) => alloc.text(f.to_string()),
Str(s) => alloc.string(s.into()),
},
Ctor(union, tag_id, args) => {