forked from GitHub/gf-core
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