Opened 14 years ago

Last modified 14 years ago

#1319 closed task (fixed)

Bootstrapping name conflict

Reported by: Martin Sjölund Owned by: Martin Sjölund
Priority: high Milestone: Bootstrapping
Component: Version:
Keywords: Cc: Martin Sjölund, Martin Sjölund

Description

Using the same name in both record (inside a uniontype) and the package does not work.
{{{package P2

uniontype UT1

record P2
end P2;

end UT1;
uniontype UT2

record R2
end R2;

end UT2;

end P2;}}}

Constructor R2 works in this package, but not the former...
{{{package P2

uniontype UT1

record P2X
end P2X;

end UT1;
uniontype UT2

record R2
end R2;

end UT2;

end P2;}}}

Change History (1)

comment:1 by Martin Sjölund, 14 years ago

Bah... Should've been a bug.

Note: See TracTickets for help on using tickets.