mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 16:21:11 +00:00
Couple of opaque repl tests
This commit is contained in:
parent
736645cd8c
commit
9d87c605fe
2 changed files with 40 additions and 1 deletions
|
@ -3433,7 +3433,18 @@ pub fn with_hole<'a>(
|
|||
}
|
||||
}
|
||||
|
||||
OpaqueRef { .. } => todo_opaques!(),
|
||||
OpaqueRef { argument, .. } => {
|
||||
let (arg_var, loc_arg_expr) = *argument;
|
||||
with_hole(
|
||||
env,
|
||||
loc_arg_expr.value,
|
||||
arg_var,
|
||||
procs,
|
||||
layout_cache,
|
||||
assigned,
|
||||
hole,
|
||||
)
|
||||
}
|
||||
|
||||
Record {
|
||||
record_var,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue