mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-22 19:22:50 -06:00
update the testsuite
This commit is contained in:
@@ -1,2 +1,2 @@
|
|||||||
i -src -erasing=on testsuite/compiler/check/lins/linsCnc.gf
|
i -src testsuite/compiler/check/lins/linsCnc.gf
|
||||||
pg -printer=pmcfg_pretty
|
pg -printer=pgf_pretty
|
||||||
|
|||||||
@@ -1,15 +1,37 @@
|
|||||||
checking module linsCnc
|
checking module linsCnc
|
||||||
|
|
||||||
Warning: no linearization type for C, inserting default {s : Str}
|
Warning: no linearization type for C, inserting default {s : Str}
|
||||||
|
|
||||||
Warning: no linearization of test
|
Warning: no linearization of test
|
||||||
|
|
||||||
language linsCnc
|
abstract lins {
|
||||||
|
|
||||||
productions
|
cat C Nat
|
||||||
|
|
||||||
C1 -> F0[]
|
cat Float
|
||||||
|
|
||||||
functions
|
cat Int
|
||||||
|
|
||||||
F0 := () [zero]
|
cat Nat
|
||||||
|
|
||||||
|
cat String
|
||||||
|
|
||||||
|
fun test : C zero
|
||||||
|
|
||||||
|
fun zero : Nat
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
concrete linsCnc {
|
||||||
|
|
||||||
|
productions
|
||||||
|
|
||||||
|
C0 -> F0[CVar]
|
||||||
|
|
||||||
|
C1 -> F1[CVar]
|
||||||
|
|
||||||
|
C1 -> F2[]
|
||||||
|
|
||||||
|
functions
|
||||||
|
|
||||||
|
F0 := (S0) [__gfV]
|
||||||
|
|||||||
Reference in New Issue
Block a user