mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-09-19 16:56:02 -06:00
added some tests in the testsuite for the compiler
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
checking module linsCnc␍
|
||||
Warning: no linearization type for C, inserting default {s : Str}␍
|
||||
checking module linsCnc␍
|
||||
Warning: no linearization of test␍
|
||||
␍
|
||||
Warning: no linearization type for C, inserting default {s : Str}␍
|
||||
Warning: no linearization of test␍
|
||||
language linsCnc␍
|
||||
productions␍
|
||||
C1 -> F0[]␍
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
resource Res = {
|
||||
|
||||
oper my_oper : Str -> Str ;
|
||||
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
i testsuite/compiler/check/oper-definition/Res.gf
|
||||
@@ -0,0 +1,5 @@
|
||||
␍
|
||||
␍
|
||||
checking module Res␍
|
||||
Happened in operation my_oper in Res.gf, line 3 :␍
|
||||
No definition given to the operation␍
|
||||
@@ -0,0 +1,8 @@
|
||||
abstract A = {
|
||||
|
||||
cat A1; A2 ;
|
||||
fun f1 : A1 ;
|
||||
f2 : A1 ;
|
||||
g : A2 ;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
abstract B = A - [A1] ** {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user