forked from GitHub/gf-core
add test case for typechecking of lincat
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
abstract Test = {
|
||||
|
||||
cat S;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
concrete TestCnc of Test = open Predef in {
|
||||
|
||||
lincat S = PTrue ;
|
||||
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
i -src testsuite/compiler/check/lincat-types/TestCnc.gf
|
||||
@@ -0,0 +1,7 @@
|
||||
|
||||
|
||||
|
||||
|
||||
checking module TestCnc
|
||||
|
||||
Happened in linearization type of S in TestCnc.gf, line 3:
|
||||
Reference in New Issue
Block a user