From b09a6d667badfb82fa340427ac8767dc83f400af Mon Sep 17 00:00:00 2001 From: Nathan Pollart Date: Mon, 5 Aug 2024 12:24:39 +0200 Subject: [PATCH] Add test --- .../tests/integration/inputs/typecheck/record_subtyping.ncl | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 core/tests/integration/inputs/typecheck/record_subtyping.ncl diff --git a/core/tests/integration/inputs/typecheck/record_subtyping.ncl b/core/tests/integration/inputs/typecheck/record_subtyping.ncl new file mode 100644 index 0000000000..8915cf85e1 --- /dev/null +++ b/core/tests/integration/inputs/typecheck/record_subtyping.ncl @@ -0,0 +1,6 @@ +# test.type = 'pass' +let test : _ = + let test_func : {a : {_ : Number}} -> {a : {_ : Number}} = fun a => a in + test_func {a = {foo = 5}} +in +true