mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
Switch String deriving to be an immediate deriver
This commit is contained in:
parent
c98ba441cf
commit
9a66e936a8
7 changed files with 686 additions and 806 deletions
|
@ -84,7 +84,7 @@ impl FlatEncodable {
|
|||
Symbol::LIST_LIST => Ok(Key(FlatEncodableKey::List())),
|
||||
Symbol::SET_SET => Ok(Key(FlatEncodableKey::Set())),
|
||||
Symbol::DICT_DICT => Ok(Key(FlatEncodableKey::Dict())),
|
||||
Symbol::STR_STR => Ok(Key(FlatEncodableKey::String)),
|
||||
Symbol::STR_STR => Ok(Immediate(Symbol::ENCODE_STRING)),
|
||||
_ => Err(Underivable),
|
||||
},
|
||||
FlatType::Record(fields, ext) => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue