mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 00:01:16 +00:00
add a TypedHole node to Expr, for use in the editor
This commit is contained in:
parent
2c09907116
commit
f285e7ce93
6 changed files with 23 additions and 3 deletions
|
@ -366,6 +366,8 @@ pub fn deep_copy_type_vars_into_expr<'a>(
|
|||
|
||||
Expect(e1, e2) => Expect(Box::new(e1.map(go_help)), Box::new(e2.map(go_help))),
|
||||
|
||||
TypedHole(v) => TypedHole(sub!(*v)),
|
||||
|
||||
RuntimeError(err) => RuntimeError(err.clone()),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue