[perl #129812] [JVM][OPTIMIZER] `is rw` candidates get called even if a non-rw argument is passed

2019-11-17 Thread Christian Bartolomaeus via RT
This now works on the JVM backend, too. Fixed with https://github.com/rakudo/rakudo/commit/12d4514a3d I'm closing this ticket as 'resolved'.

[perl #129812] [JVM][OPTIMIZER] `is rw` candidates get called even if a non-rw argument is passed

2019-10-13 Thread Christian Bartolomaeus via RT
This is still a problem on the JVM backend. I tried a second time to find the underlying problem and arrived at the same conclusion: There seems to be something wrong in 'analyze_dispatch'. When running the given code multi foo ($) {"right" }; multi foo ($ is rw) {"wrong"}; say foo "42"