mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
Implement derivation keys for tuple encoders
This commit is contained in:
parent
a361c4cfc1
commit
e5fcb05a2d
3 changed files with 20 additions and 3 deletions
|
@ -30,6 +30,7 @@ pub(crate) fn derive_to_encoder(
|
|||
FlatEncodableKey::List() => to_encoder_list(env, def_symbol),
|
||||
FlatEncodableKey::Set() => todo!(),
|
||||
FlatEncodableKey::Dict() => todo!(),
|
||||
FlatEncodableKey::Tuple(_arity) => todo!(),
|
||||
FlatEncodableKey::Record(fields) => {
|
||||
// Generalized record var so we can reuse this impl between many records:
|
||||
// if fields = { a, b }, this is { a: t1, b: t2 } for fresh t1, t2.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue