mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-22 11:19:32 -06:00
Rectified gold files
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
|
||||
|
||||
testsuite/compiler/check/lincat-types/TestCnc.gf:3:
|
||||
Happened in linearization type of S
|
||||
type of PTrue
|
||||
expected: Type
|
||||
inferred: PBool
|
||||
testsuite/compiler/check/lincat-types/TestCnc.gf:
|
||||
testsuite/compiler/check/lincat-types/TestCnc.gf:3:
|
||||
Happened in linearization type of S
|
||||
type of PTrue
|
||||
expected: Type
|
||||
inferred: Predef.PBool
|
||||
|
||||
|
||||
@@ -1,39 +1,41 @@
|
||||
checking module linsCnc
|
||||
Warning: no linearization type for C, inserting default {s : Str}
|
||||
Warning: no linearization of test
|
||||
abstract lins {
|
||||
cat C Nat ;
|
||||
cat Float ;
|
||||
cat Int ;
|
||||
cat Nat ;
|
||||
cat String ;
|
||||
fun test : C zero ;
|
||||
fun zero : Nat ;
|
||||
}
|
||||
concrete linsCnc {
|
||||
productions
|
||||
C1 -> F2[]
|
||||
lindefs
|
||||
C0 -> F0
|
||||
C1 -> F1
|
||||
lin
|
||||
F0 := (S0) [lindef C]
|
||||
F1 := () [lindef Nat]
|
||||
F2 := () [zero]
|
||||
sequences
|
||||
S0 := {0,0}
|
||||
categories
|
||||
C := range [C0 .. C0]
|
||||
labels ["s"]
|
||||
Float := range [CFloat .. CFloat]
|
||||
labels ["s"]
|
||||
Int := range [CInt .. CInt]
|
||||
labels ["s"]
|
||||
Nat := range [C1 .. C1]
|
||||
labels []
|
||||
String := range [CString .. CString]
|
||||
labels ["s"]
|
||||
__gfVar := range [CVar .. CVar]
|
||||
labels [""]
|
||||
printnames
|
||||
}
|
||||
abstract lins {
|
||||
cat C Nat ;
|
||||
cat Float ;
|
||||
cat Int ;
|
||||
cat Nat ;
|
||||
cat String ;
|
||||
fun test : C zero ;
|
||||
fun zero : Nat ;
|
||||
}
|
||||
concrete linsCnc {
|
||||
productions
|
||||
C1 -> F4[]
|
||||
lindefs
|
||||
C0 -> F0[CVar]
|
||||
C1 -> F2[CVar]
|
||||
linrefs
|
||||
CVar -> F1[C0]
|
||||
CVar -> F3[C1]
|
||||
lin
|
||||
F0 := (S2) ['lindef C']
|
||||
F1 := (S1) ['lindef C']
|
||||
F2 := () ['lindef Nat']
|
||||
F3 := (S0) ['lindef Nat']
|
||||
F4 := () [zero]
|
||||
sequences
|
||||
S0 :=
|
||||
S1 := <0,0>
|
||||
S2 := {0,0}
|
||||
categories
|
||||
C := range [C0 .. C0]
|
||||
labels ["s"]
|
||||
Float := range [CFloat .. CFloat]
|
||||
labels ["s"]
|
||||
Int := range [CInt .. CInt]
|
||||
labels ["s"]
|
||||
Nat := range [C1 .. C1]
|
||||
labels []
|
||||
String := range [CString .. CString]
|
||||
labels ["s"]
|
||||
printnames
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
|
||||
|
||||
testsuite/compiler/check/oper-definition/Res.gf:3:
|
||||
Happened in operation my_oper
|
||||
No definition given to the operation
|
||||
testsuite/compiler/check/oper-definition/Res.gf:
|
||||
testsuite/compiler/check/oper-definition/Res.gf:3:
|
||||
Happened in operation my_oper
|
||||
No definition given to the operation
|
||||
|
||||
1
testsuite/compiler/check/strMatch/strMatch.gfs.gold
Normal file
1
testsuite/compiler/check/strMatch/strMatch.gfs.gold
Normal file
@@ -0,0 +1 @@
|
||||
|
||||
Reference in New Issue
Block a user