mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-09-12 05:16:01 -06:00
upgrade the testsuite to work with GHC 6.12
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
␍
|
||||
␍
|
||||
checking module Test1Abs␍
|
||||
circular definitions: A B␍
|
||||
|
||||
|
||||
checking module Test1Abs
|
||||
circular definitions: A B
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
␍
|
||||
␍
|
||||
checking module Test2Abs␍
|
||||
circular definitions: f g␍
|
||||
|
||||
|
||||
checking module Test2Abs
|
||||
circular definitions: f g
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
␍
|
||||
␍
|
||||
checking module TestOpers␍
|
||||
circular definitions: A B␍
|
||||
␍
|
||||
␍
|
||||
checking module TestOperTypes␍
|
||||
circular definitions: A T␍
|
||||
|
||||
|
||||
checking module TestOpers
|
||||
circular definitions: A B
|
||||
|
||||
|
||||
checking module TestOperTypes
|
||||
circular definitions: A T
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
␍
|
||||
␍
|
||||
checking module TestParams␍
|
||||
circular definitions: A B␍
|
||||
|
||||
|
||||
checking module TestParams
|
||||
circular definitions: A B
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
␍
|
||||
␍
|
||||
checking module TestCnc␍
|
||||
Happened in linearization type of S in TestCnc.gf, line 3:␍
|
||||
type of PTrue␍
|
||||
expected: Type␍
|
||||
inferred: PBool␍
|
||||
|
||||
|
||||
checking module TestCnc
|
||||
Happened in linearization type of S in TestCnc.gf, line 3:
|
||||
type of PTrue
|
||||
expected: Type
|
||||
inferred: PBool
|
||||
|
||||
@@ -1,37 +1,37 @@
|
||||
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␍
|
||||
C0 -> F0[CVar]␍
|
||||
C1 -> F1[CVar]␍
|
||||
C1 -> F2[]␍
|
||||
functions␍
|
||||
F0 := (S0) [__gfV]␍
|
||||
F1 := () [__gfV]␍
|
||||
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 ["s"]␍
|
||||
}␍
|
||||
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
|
||||
C0 -> F0[CVar]
|
||||
C1 -> F1[CVar]
|
||||
C1 -> F2[]
|
||||
functions
|
||||
F0 := (S0) [__gfV]
|
||||
F1 := () [__gfV]
|
||||
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 ["s"]
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
␍
|
||||
␍
|
||||
checking module Res␍
|
||||
Happened in operation my_oper in Res.gf, line 3:␍
|
||||
No definition given to the operation␍
|
||||
|
||||
|
||||
checking module Res
|
||||
Happened in operation my_oper in Res.gf, line 3:
|
||||
No definition given to the operation
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
␍
|
||||
␍
|
||||
renaming module funpatt␍
|
||||
renaming definition of d in funpatt.gf, line 12␍
|
||||
data constructor expected but funpatt.D1 is found instead␍
|
||||
|
||||
|
||||
renaming module funpatt
|
||||
renaming of d in funpatt.gf, line 11
|
||||
data constructor expected but funpatt.D1 is found instead
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
1␍
|
||||
␍
|
||||
1␍
|
||||
␍
|
||||
1
|
||||
|
||||
1
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
fun f : (Int -> Int) -> Int -> Int␍
|
||||
fun f : (Int -> Int) -> Int -> Int
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
␍
|
||||
␍
|
||||
checking module A␍
|
||||
Prod expected for function A instead of Type␍
|
||||
in category B in A.gf, line 4␍
|
||||
|
||||
|
||||
checking module A
|
||||
Prod expected for function A instead of Type
|
||||
in category B in A.gf, line 4
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
␍
|
||||
␍
|
||||
checking module B␍
|
||||
Prod expected for function S instead of Type␍
|
||||
in type of function f in B.gf, line 5␍
|
||||
|
||||
|
||||
checking module B
|
||||
Prod expected for function S instead of Type
|
||||
in type of function f in B.gf, line 5
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
␍
|
||||
␍
|
||||
checking module C␍
|
||||
{Int <> S}␍
|
||||
in definition of function f in C.gf, line 6␍
|
||||
|
||||
|
||||
checking module C
|
||||
{Int <> S}
|
||||
in definition of function f in C.gf, line 6
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
␍
|
||||
␍
|
||||
checking module A␍
|
||||
Happened in operation silly in A.gf, line 5:␍
|
||||
A function type is expected for a_Det instead of type Str␍
|
||||
|
||||
|
||||
checking module A
|
||||
Happened in operation silly in A.gf, line 5:
|
||||
A function type is expected for a_Det instead of type Str
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
␍
|
||||
␍
|
||||
C:\gf_3\testsuite\compiler\update\ArrityCheck.gf:6:1: cannot unify the informations␍
|
||||
fun f : Int -> Int -> Int ;␍
|
||||
def f 0 = \x -> x ;␍
|
||||
and␍
|
||||
def f 1 1 = 0 ;␍
|
||||
in module ArrityCheck␍
|
||||
|
||||
|
||||
C:\gf\testsuite\compiler\update\ArrityCheck.gf:6:1: cannot unify the informations
|
||||
fun f : Int -> Int -> Int ;
|
||||
def f 0 = \x -> x ;
|
||||
and
|
||||
def f 1 1 = 0 ;
|
||||
in module ArrityCheck
|
||||
|
||||
Reference in New Issue
Block a user