mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 00:24:34 +00:00
We love the eta reductions
This commit is contained in:
parent
a0950e9321
commit
2a4ed33530
1 changed files with 1 additions and 1 deletions
|
@ -827,7 +827,7 @@ impl<'a> SymbolSpecializations<'a> {
|
|||
function_mark,
|
||||
};
|
||||
|
||||
let symbol_specializations = self.0.get_or_insert(symbol, || Default::default());
|
||||
let symbol_specializations = self.0.get_or_insert(symbol, Default::default);
|
||||
|
||||
// For the first specialization, always reuse the current symbol. The vast majority of defs
|
||||
// only have one instance type, so this preserves readability of the IR.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue