New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempting to merge non-ErrorSet types causes compiler crash #1509

Closed
tgschultz opened this Issue Sep 13, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@tgschultz
Contributor

tgschultz commented Sep 13, 2018

test "merging non-ErrorSet types" {
    const Errors = u8 || u16;
}

Obviously a compile error is more appropriate.

PS: It's worth noting that you can actually merge void.

@andrewrk andrewrk added this to the 0.3.0 milestone Sep 13, 2018

@andrewrk andrewrk added the bug label Sep 13, 2018

@andrewrk andrewrk closed this in ac0cda8 Sep 13, 2018

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