mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-09-14 06:16:01 -06:00
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:␍
|
||||||
|
type of PTrue␍
|
||||||
|
expected: Type␍
|
||||||
|
inferred: PBool␍
|
||||||
Reference in New Issue
Block a user