Wrap opaque types in the repl with the appropriate opaque wrapper

Closes #3504
This commit is contained in:
Ayaz Hafiz 2022-07-13 17:45:13 -04:00
parent cb25bf0f48
commit 9b7950f765
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
6 changed files with 30 additions and 8 deletions

View file

@ -1,3 +1,4 @@
use roc_module::symbol::Interns;
use roc_mono::{
ir::ProcLayout,
layout::{CapturesNiche, LayoutCache},
@ -16,6 +17,7 @@ pub fn get_values<'a>(
target_info: TargetInfo,
arena: &'a bumpalo::Bump,
subs: &'a Subs,
interns: &'a Interns,
start: *const u8,
mut start_offset: usize,
variables: &[Variable],
@ -52,6 +54,7 @@ pub fn get_values<'a>(
proc_layout,
content,
subs,
interns,
target_info,
)
}?;