We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The one with `cdecl` has nothing to do with templates, simplified:
type Object = object a: int b: ref int var x = 0 proc fn(): auto {.cdecl.} = inc x return Object() discard fn() doAssert x == 1
Both a: int and b: ref int need to exist for some reason.
a: int
b: ref int
Locally this seems caused by #23409, not sure if there's a reason the bisect bot couldn't figure it out.
Also thanks for fixing the regressions from #23681, I didn't have time to look at them.
Originally posted by @metagn in #23836 (comment)
The text was updated successfully, but these errors were encountered:
fixes #23858; 2.2.0 rc1 regression with cdecl functions
1e0c910
3a10366
Successfully merging a pull request may close this issue.
Both
a: int
andb: ref int
need to exist for some reason.Locally this seems caused by #23409, not sure if there's a reason the bisect bot couldn't figure it out.
Also thanks for fixing the regressions from #23681, I didn't have time to look at them.
Originally posted by @metagn in #23836 (comment)
The text was updated successfully, but these errors were encountered: