From ee4ec02054d2ec9c07cb2d0e0350f0d0cfd253a9 Mon Sep 17 00:00:00 2001 From: Adam Chlipala Date: Fri, 1 Aug 2014 16:11:36 -0400 Subject: When unifying constructor-level unification variables, also unify their kinds --- tests/wackyunif.ur | 2 ++ tests/wackyunif.urp | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 tests/wackyunif.ur create mode 100644 tests/wackyunif.urp (limited to 'tests') diff --git a/tests/wackyunif.ur b/tests/wackyunif.ur new file mode 100644 index 00000000..2a215e69 --- /dev/null +++ b/tests/wackyunif.ur @@ -0,0 +1,2 @@ +val concatX [ctx] [use] : _ -> _ ctx use _ = + List.foldl join diff --git a/tests/wackyunif.urp b/tests/wackyunif.urp new file mode 100644 index 00000000..35791acf --- /dev/null +++ b/tests/wackyunif.urp @@ -0,0 +1,2 @@ +$/list +wackyunif -- cgit v1.2.3