You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
typeObj=refobjectprocnewObj(): Obj=result=newObj#result = Obj() <-- this also compileslet o =newObj()
Current Output
Compiles
Expected Output
Error out due to the fact that the unowned ref lasted longer than the owned ref.
Additional Information
Nim Compiler Version 0.19.9 [Linux: amd64]
Compiled at 2019-04-21
Copyright (c) 2006-2019 by Andreas Rumpf
git hash: 375b444ecd41645c848fe369a777a53f9312fbe3
active boot switches: -d:release -d:useLinenoise
The text was updated successfully, but these errors were encountered:
Example
Current Output
Compiles
Expected Output
Error out due to the fact that the unowned ref lasted longer than the owned ref.
Additional Information
The text was updated successfully, but these errors were encountered: