mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 07:14:46 +00:00
Marks specializations for closure defs
This commit is contained in:
parent
7afcdf0f95
commit
b4f5e62f46
2 changed files with 30 additions and 17 deletions
|
@ -3421,7 +3421,6 @@ fn polymorphic_def_used_in_closure() {
|
|||
|
||||
#[test]
|
||||
#[cfg(any(feature = "gen-llvm"))]
|
||||
#[ignore = "This still doesn't work... yet"]
|
||||
fn polymorphic_lambda_set_usage() {
|
||||
assert_evals_to!(
|
||||
indoc!(
|
||||
|
@ -3429,6 +3428,7 @@ fn polymorphic_lambda_set_usage() {
|
|||
id1 = \x -> x
|
||||
id2 = \y -> y
|
||||
id = if True then id1 else id2
|
||||
|
||||
id 9u8
|
||||
"#
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue