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