forked from GitHub/gf-core
test case for let expression in def rule
This commit is contained in:
7
testsuite/compiler/typecheck/abstract/LetInDefAbs.gf
Normal file
7
testsuite/compiler/typecheck/abstract/LetInDefAbs.gf
Normal file
@@ -0,0 +1,7 @@
|
||||
abstract LetInDefAbs = {
|
||||
|
||||
fun f : Int -> Int ;
|
||||
def f n = let z = f 0
|
||||
in f z ;
|
||||
|
||||
}
|
||||
2
testsuite/compiler/typecheck/abstract/LetInDefAbs.gfs
Normal file
2
testsuite/compiler/typecheck/abstract/LetInDefAbs.gfs
Normal file
@@ -0,0 +1,2 @@
|
||||
i -src testsuite/compiler/typecheck/abstract/LetInDefAbs.gf
|
||||
ai f
|
||||
Reference in New Issue
Block a user