Add deriving of immediates for the Hash ability

This commit is contained in:
Ayaz Hafiz 2022-10-04 11:09:08 -05:00
parent 7bd6523175
commit 427528e659
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
7 changed files with 134 additions and 0 deletions

View file

@ -0,0 +1,14 @@
//! Derivers for the `Hash` ability.
use roc_derive_key::hash::FlatHashKey;
use roc_module::symbol::Symbol;
use crate::{util::Env, DerivedBody};
pub(crate) fn derive_hash(
_env: &mut Env<'_>,
key: FlatHashKey,
_def_symbol: Symbol,
) -> DerivedBody {
match key {}
}