Idris2-boot/tests/idris2/reg004/ambig.idr
Edwin Brady 8158c617f6 Disambiguate data constuctor families
If the name is given (rather than, say, computed) update it so that it's
the data type name being defined - so ambiguities are resolved
immediately. Fixes #192
2020-02-22 19:32:22 +00:00

8 lines
81 B
Idris

namespace Foo
export
data A = B | C
namespace Bar
export
data A = D | E