mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 07:14:46 +00:00
Only immediately specialize anonymous closures
This commit is contained in:
parent
0d6d30e5df
commit
7c98e2e9f8
2 changed files with 9 additions and 29 deletions
|
@ -39,7 +39,6 @@ pub fn build(
|
|||
let home = loaded.module_id;
|
||||
let src_lines: Vec<&str> = src.split('\n').collect();
|
||||
let palette = DEFAULT_PALETTE;
|
||||
let mut layout_cache = LayoutCache::default();
|
||||
|
||||
// Report parsing and canonicalization problems
|
||||
let alloc = RocDocAllocator::new(&src_lines, home, &loaded.interns);
|
||||
|
@ -197,7 +196,6 @@ pub fn build(
|
|||
loc_args,
|
||||
loc_body,
|
||||
ret_var,
|
||||
&mut layout_cache,
|
||||
);
|
||||
}
|
||||
body => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue