rupesh4514 / grammatical-framework

Automatically exported from code.google.com/p/grammatical-framework
0 stars 0 forks source link

noninformative error msg with module declaration mistake #48

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I wrote
concrete XEng of X = Y ** {...}

instead of 
concrete XEng of X = YEng ** {...}

and I got this hard to interprete error:
cannot unify the information
    lincat A = {s : ResEng.AForm => Str} ;
    lindef A = \str_0 -> {s = table ResEng.AForm {
                                q_A__0 => str_0
                              }} ;
in module CatEng with
    cat A ;
in module Cat

--------------------
It was v hard to find this error, it would be good to replace error msg with 
sth more informative

Original issue reported on code.google.com by adam.sla...@gmail.com on 14 Apr 2011 at 9:39