The code below will cause rock to flame out with [Exception in FunctionCallWriter]: Trying to write unresolved function a free():
a := Foo new()
b := Foo new()
(a, b) free()
For some reason, it won't go up to Object free() (here). Of course, if I define a free() myself, this code works, however, one should not be required to override free() is there is nothing to free (or any other method that happen to be defined in Object).
@zhaihj could you take a look at this?
This piece of code works just fine:
The code below will cause rock to flame out with
[Exception in FunctionCallWriter]: Trying to write unresolved function a free()
:For some reason, it won't go up to
Object free()
(here). Of course, if I define afree()
myself, this code works, however, one should not be required to overridefree()
is there is nothing to free (or any other method that happen to be defined inObject
).