Skip to content

AST-81 duplicate name exception; reproduction / regression test#322

Closed
matthewhammer wants to merge 2 commits intomasterfrom
matthew/test/clash
Closed

AST-81 duplicate name exception; reproduction / regression test#322
matthewhammer wants to merge 2 commits intomasterfrom
matthew/test/clash

Conversation

@matthewhammer
Copy link
Copy Markdown
Contributor

The new testcase in this PR currently triggers a compiler exception:

internal error, Env.Make(X).Clash("x")

But the compiler should instead say something like:

type error, duplicate definition for x in block

I've made an attempt at a minimal example. Hopefully it's small enough to help identify the bug.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants