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

Newruntime: raise ObjContructor() doesn't compile #11628

cooldome opened this issue Jun 30, 2019 · 0 comments


Copy link

commented Jun 30, 2019

The following example doesn't compile on latest Nim with --newruntime:

  UnpackError* = ref object of ValueError

raise UnpackError(msg: "error")


z1.nim(4, 1) Error: internal error: '=' operator not found for type owned UnpackError

@cooldome cooldome changed the title Runtime: raise ObjContructor() doesn't compile Newruntime: raise ObjContructor() doesn't compile Jun 30, 2019

@Araq Araq closed this in c352892 Jul 1, 2019

narimiran added a commit that referenced this issue Jul 2, 2019

fixes #11628
(cherry picked from commit c352892)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
1 participant
You can’t perform that action at this time.