mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-05-22 17:42:51 -06:00
fix the funpatt testcase
This commit is contained in:
@@ -4,11 +4,11 @@ abstract funpatt = {
|
|||||||
-- we cannot pattern match on functions
|
-- we cannot pattern match on functions
|
||||||
|
|
||||||
cat D ;
|
cat D ;
|
||||||
fun D1 : D ;
|
fun D1 : Int -> D ;
|
||||||
D2 : D ;
|
D2 : Int -> D ;
|
||||||
|
|
||||||
fun d : D -> Int ;
|
fun d : D -> Int ;
|
||||||
def d D1 = 1 ;
|
def d (D1 _) = 1 ;
|
||||||
d D2 = 2 ;
|
d (D2 _) = 2 ;
|
||||||
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user