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