mirror of
https://github.com/roc-lang/roc.git
synced 2025-07-24 06:55:15 +00:00
Store derivable ability members statically
This commit is contained in:
parent
10001876bb
commit
6035e45f25
4 changed files with 13 additions and 9 deletions
|
@ -86,7 +86,7 @@ impl PendingDerivesTable {
|
|||
} in derives
|
||||
{
|
||||
debug_assert!(
|
||||
ability.is_builtin_ability(),
|
||||
ability.is_derivable_ability(),
|
||||
"Not a builtin - should have been caught during can"
|
||||
);
|
||||
let derive_key = RequestedDeriveKey { opaque, ability };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue