Couple of opaque repl tests

This commit is contained in:
ayazhafiz 2022-02-24 19:04:51 -05:00
parent 736645cd8c
commit 9d87c605fe
2 changed files with 40 additions and 1 deletions

View file

@ -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,