mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-04 12:18:19 +00:00
Merge branch 'main' into clippy-1.74
This commit is contained in:
commit
aaba3f4d82
320 changed files with 11155 additions and 18862 deletions
1089
crates/compiler/derive/src/inspect.rs
Normal file
1089
crates/compiler/derive/src/inspect.rs
Normal file
File diff suppressed because it is too large
Load diff
|
@ -19,7 +19,7 @@ use util::Env;
|
|||
mod decoding;
|
||||
mod encoding;
|
||||
mod hash;
|
||||
|
||||
mod inspect;
|
||||
mod util;
|
||||
|
||||
pub(crate) const DERIVED_SYNTH: ModuleId = ModuleId::DERIVED_SYNTH;
|
||||
|
@ -79,6 +79,9 @@ fn build_derived_body(
|
|||
decoding::derive_decoder(&mut env, decoder_key, derived_symbol)
|
||||
}
|
||||
DeriveKey::Hash(hash_key) => hash::derive_hash(&mut env, hash_key, derived_symbol),
|
||||
DeriveKey::ToInspector(to_inspector_key) => {
|
||||
inspect::derive_to_inspector(&mut env, to_inspector_key, derived_symbol)
|
||||
}
|
||||
};
|
||||
|
||||
let def = Def {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue