-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
lent
gives wrong results with -d:release
#14578
Labels
Comments
timotheecour
added a commit
to timotheecour/Nim
that referenced
this issue
Jun 6, 2020
Araq
pushed a commit
that referenced
this issue
Jun 6, 2020
The issue here is the same as #14420 proc byLent[T](a: T): lent T = a byLent contains stmtListExpr and stmtListExpr involves temporary object in backend |
@cooldome if what you say were true, the same workaround would apply here, but this is not the case: at the very least there is some different here (even if, perhaps, there is a common root cause) |
timotheecour
added a commit
to timotheecour/Nim
that referenced
this issue
Nov 13, 2020
…er issues; test cpp
timotheecour
added a commit
that referenced
this issue
Nov 13, 2020
PMunch
pushed a commit
to PMunch/Nim
that referenced
this issue
Jan 6, 2021
…er issues; test cpp (nim-lang#15960)
mildred
pushed a commit
to mildred/Nim
that referenced
this issue
Jan 11, 2021
…er issues; test cpp (nim-lang#15960)
irdassis
pushed a commit
to irdassis/Nim
that referenced
this issue
Mar 16, 2021
…er issues; test cpp (nim-lang#15960)
ardek66
pushed a commit
to ardek66/Nim
that referenced
this issue
Mar 26, 2021
…er issues; test cpp (nim-lang#15960)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
lent
gives wrong results with -d:releaseExample
Current Output
looks like it returns the address instead
Expected Output
Additional Information
The text was updated successfully, but these errors were encountered: