mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 08:34:33 +00:00
Remove bad test
We shouldn't expect to generate code for tag destructures that are type errors
This commit is contained in:
parent
8e7ca57458
commit
f56754a539
1 changed files with 0 additions and 20 deletions
|
@ -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]
|
#[test]
|
||||||
#[cfg(any(feature = "gen-llvm"))]
|
#[cfg(any(feature = "gen-llvm"))]
|
||||||
#[ignore]
|
#[ignore]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue