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

nim check crash with invalid code, lowest priority #10930

Closed
StefanSalewski opened this issue Mar 30, 2019 · 0 comments

Comments

Projects
None yet
2 participants
@StefanSalewski
Copy link

commented Mar 30, 2019

type
  ConstraintMap* = object
    idGenerator*: IDGenerator

proc initConstraintMap*(): ConstraintMap =
  result.idGenerator = initIDGenerator()
constraintMap.nim(6, 39) Error: expression 'initIDGenerator' cannot be called
constraintMap.nim(6, 22) Error: internal error: assignment requested for type: Error Type
No stack traceback available
To create a stacktrace, rerun compilation with ./koch temp check <file>

@Araq Araq added the Regression label Mar 30, 2019

@Araq Araq closed this in aa072b9 Mar 30, 2019

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.