change roc call result; adding an extra field for the error message pointer

When the returned value was smaller than a pointer, there was no space for the error message pointer.
This commit is contained in:
Folkert 2021-11-10 22:09:01 +01:00
parent 2c3984bb0f
commit 5d7b4b7ad0
3 changed files with 46 additions and 66 deletions

View file

@ -2341,7 +2341,7 @@ fn list_any() {
#[test]
#[cfg(any(feature = "gen-llvm"))]
#[ignore]
#[should_panic(expected = r#"Roc failed with message: "UnresolvedTypeVar"#)]
fn list_any_empty_with_unknown_element_type() {
// Segfaults with invalid memory reference. Running this as a stand-alone
// Roc program, generates the following error message: