mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
Merge pull request #1300 from rtfeldman/specialize-lowlevel
Polyvariant defunctionalization
This commit is contained in:
commit
75ec2ecc7b
34 changed files with 4465 additions and 2696 deletions
|
@ -165,6 +165,12 @@ impl fmt::Display for Symbol {
|
|||
}
|
||||
}
|
||||
|
||||
impl From<Symbol> for u64 {
|
||||
fn from(symbol: Symbol) -> Self {
|
||||
symbol.0
|
||||
}
|
||||
}
|
||||
|
||||
fn fallback_debug_fmt(symbol: Symbol, f: &mut fmt::Formatter) -> fmt::Result {
|
||||
let module_id = symbol.module_id();
|
||||
let ident_id = symbol.ident_id();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue