Remove bad test

We shouldn't expect to generate code for tag destructures that are type
errors
This commit is contained in:
ayazhafiz 2021-12-30 20:59:59 -06:00
parent 8e7ca57458
commit f56754a539

View file

@ -1989,26 +1989,6 @@ fn pattern_shadowing() {
);
}
#[test]
#[cfg(any(feature = "gen-llvm"))]
#[should_panic(expected = "TODO non-exhaustive pattern")]
fn non_exhaustive_pattern_let() {
assert_evals_to!(
indoc!(
r#"
x : Result (Int a) (Float b)
x = Ok 4
(Ok y) = x
y
"#
),
0,
i64
);
}
#[test]
#[cfg(any(feature = "gen-llvm"))]
#[ignore]