1
0
forked from GitHub/gf-core

add test case for typechecking of lincat

This commit is contained in:
krasimir
2009-11-13 10:28:37 +00:00
parent 36d025877b
commit 129d914002
4 changed files with 18 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
abstract Test = {
cat S;
}

View File

@@ -0,0 +1,5 @@
concrete TestCnc of Test = open Predef in {
lincat S = PTrue ;
}

View File

@@ -0,0 +1 @@
i -src testsuite/compiler/check/lincat-types/TestCnc.gf

View File

@@ -0,0 +1,7 @@
checking module TestCnc
Happened in linearization type of S in TestCnc.gf, line 3: