make things work by removing type signatures

This commit is contained in:
Folkert 2020-10-19 00:28:14 +02:00
parent 847a1be65e
commit 33ff36daad
2 changed files with 4 additions and 5 deletions

View file

@ -974,7 +974,6 @@ mod gen_primitives {
}
#[test]
#[ignore]
fn io_poc_effect() {
assert_evals_to!(
indoc!(
@ -983,13 +982,13 @@ mod gen_primitives {
Effect a : [ @Effect ({} -> a) ]
succeed : a -> Effect a
# succeed : a -> Effect a
succeed = \x -> @Effect \{} -> x
runEffect : Effect a -> a
# runEffect : Effect a -> a
runEffect = \@Effect thunk -> thunk {}
foo : Effect Float
# foo : Effect Float
foo =
succeed 3.14

View file

@ -180,7 +180,7 @@ fn unify_alias(
problems.extend(merge(subs, &ctx, other_content.clone()));
if problems.is_empty() {
problems.extend(unify_pool(subs, pool, real_var, *other_real_var))
problems.extend(unify_pool(subs, pool, real_var, *other_real_var));
}
problems