Skip to content
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

Better error message for object variant with enum that is below it #4140

dom96 opened this issue May 10, 2016 · 0 comments


None yet
2 participants
Copy link

commented May 10, 2016

  Lah = object
    case kind*: Foo
    of Blah: discard

  Foo = enum

Results in Error: selector must be of an ordinal type

@dumjyl dumjyl referenced this issue May 13, 2019


Fixes #4140 #11238

cooldome added a commit that referenced this issue May 13, 2019

Fixes #4140 (#11238)
* correct error

* cleaner

* fix line info
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.