Closed
Description
When a shared reference is assign, the glue_drop function is called with the old value before the glue_take function is called with the new_value. With an assignment like "self.o = self.o;" the generated program will core.
Of course, it's a silly example. All other examples I tried make a glue_take before calling the assignment (for example if you call a function with the argument "self.o" which will be then assigned) so you should never have this case in a real program.
Maybe it doesn't need to be fixed as it shouldn't happen with a real program.
Activity