fix wrong field name in wasm helpers

This commit is contained in:
Folkert 2023-03-15 22:17:23 +01:00
parent fdf1489df6
commit 8b00e071ab
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C

View file

@ -114,10 +114,10 @@ fn compile_roc_to_wasm_bytes<'a, T: Wasm32Result>(
..
} = loaded;
debug_assert_eq!(exposed_to_host.values.len(), 1);
debug_assert_eq!(exposed_to_host.top_level_values.len(), 1);
let exposed_to_host = exposed_to_host
.values
.top_level_values
.keys()
.copied()
.collect::<MutSet<_>>();