Replace busted gen test with reporting test

This commit is contained in:
Ayaz Hafiz 2022-11-09 11:01:10 -06:00
parent ae6f349669
commit bd9c9cc184
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
3 changed files with 37 additions and 27 deletions

View file

@ -4029,25 +4029,6 @@ fn mutually_recursive_captures() {
);
}
#[test]
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
fn monomorphization_sees_polymorphic_recursion() {
assert_evals_to!(
indoc!(
r#"
foo : a, Bool -> Str
foo = \in, b -> if b then "done" else bar in
bar = \_ -> foo {} Bool.true
foo "" Bool.false
"#
),
RocStr::from("done"),
RocStr
);
}
#[test]
#[cfg(any(feature = "gen-llvm", feature = "gen-wasm"))]
fn int_let_generalization() {