mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-23 11:42:49 -06:00
add test case for abstract types with let bindings
This commit is contained in:
6
testsuite/compiler/typecheck/abstract/LetInTypesAbs.gf
Normal file
6
testsuite/compiler/typecheck/abstract/LetInTypesAbs.gf
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
abstract LetInTypesAbs = {
|
||||||
|
|
||||||
|
fun f : let id = Int -> Int
|
||||||
|
in id -> id ;
|
||||||
|
|
||||||
|
}
|
||||||
2
testsuite/compiler/typecheck/abstract/LetInTypesAbs.gfs
Normal file
2
testsuite/compiler/typecheck/abstract/LetInTypesAbs.gfs
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
i -src testsuite/compiler/typecheck/abstract/LetInTypesAbs.gf
|
||||||
|
ai f
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
fun f : (Int -> Int) -> Int -> Int
|
||||||
Reference in New Issue
Block a user