AshleyYakeley / Truth

Changes and Pinafore projects. Pull requests not accepted.
https://pinafore.info/
GNU General Public License v2.0
32 stars 0 forks source link

Symbol undefined with repeated binding #199

Closed AshleyYakeley closed 1 year ago

AshleyYakeley commented 1 year ago

Simple case:

fn x => let x = x in x

Causes problems with records:

datatype R of
    MkR of
        u: Unit;
    end;
end;

f = fn MkR => let MkR = MkR in u;
AshleyYakeley commented 1 year ago

Fixed.