rupesh4514 / grammatical-framework

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

cc can see hidden linearizations #66

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create the following grammars:
    abstract Test = {
      cat A ;
      fun aa : A ;
    }
    concrete TestA of Test = {
      lincat A = { s : Str } ;
      lin aa = { s = "aa" } ;
    }
    concrete TestB of Test = TestA - [ aa ] ** {
      lin aa = { s = "bb" } ;
    }
2. Import TestB in the shell
    > i -retain TestB.gf
3. Compute term `aa`
    > cc aa

What is the expected output? What do you see instead?
Expected output:
    {s = "bb"}
Actual output:
    {s = "aa"; lock_A = <>}

Original issue reported on code.google.com by gregoire...@gmail.com on 29 Apr 2013 at 2:12

GoogleCodeExporter commented 9 years ago

Original comment by gregoire...@gmail.com on 29 Apr 2013 at 2:12

GoogleCodeExporter commented 9 years ago

Original comment by gregoire...@gmail.com on 29 Apr 2013 at 2:12