Merge pull request #4823 from roc-lang/fix-check-union

Fix checking of recursive layouts in the ir-checker
This commit is contained in:
Folkert de Vries 2022-12-28 16:20:01 +01:00 committed by GitHub
commit f4894183d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 88 additions and 15 deletions

View file

@ -593,7 +593,7 @@ fn record_optional_field_function_use_default() {
"#
}
#[mono_test(no_check)]
#[mono_test(no_check = "https://github.com/roc-lang/roc/issues/4694")]
fn quicksort_help() {
// do we still need with_larger_debug_stack?
r#"
@ -1311,7 +1311,7 @@ fn issue_2583_specialize_errors_behind_unified_branches() {
)
}
#[mono_test(no_check)]
#[mono_test]
fn issue_2810() {
indoc!(
r#"
@ -1530,7 +1530,7 @@ fn encode_derived_record() {
)
}
#[mono_test(no_check)]
#[mono_test]
fn choose_correct_recursion_var_under_record() {
indoc!(
r#"
@ -1925,7 +1925,7 @@ fn encode_derived_tag_one_field_string() {
)
}
#[mono_test(no_check)]
#[mono_test]
fn polymorphic_expression_unification() {
indoc!(
r#"
@ -2224,7 +2224,7 @@ fn issue_4749() {
)
}
#[mono_test(mode = "test", no_check)]
#[mono_test(mode = "test")]
fn lambda_set_with_imported_toplevels_issue_4733() {
indoc!(
r###"