mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
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