mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 06:44:46 +00:00
Add deriving of immediates for the Hash ability
This commit is contained in:
parent
7bd6523175
commit
427528e659
7 changed files with 134 additions and 0 deletions
14
crates/compiler/derive/src/hash.rs
Normal file
14
crates/compiler/derive/src/hash.rs
Normal 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 {}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue