When I copy paste the code you give and save the changes, it doesn't give any duplicates. It also works fine with the modified code I posted in the thread. Are you using 1.15.3?
I added a unit test that tests if multiple references to a local variable index could cause this conflict and it successfully only kept one of the references in the local-variable table.
If you can find a sample in the latest release that I can reproduce I will re-open this issue.
Activity
artemking4 commentedon Jun 17, 2019
#135
Col-E commentedon Jun 17, 2019
When I copy paste the code you give and save the changes, it doesn't give any duplicates. It also works fine with the modified code I posted in the thread. Are you using
1.15.3?Add assembler test to verify #141 / #135 is fixed
Col-E commentedon Jun 17, 2019
I added a unit test that tests if multiple references to a local variable index could cause this conflict and it successfully only kept one of the references in the local-variable table.
If you can find a sample in the latest release that I can reproduce I will re-open this issue.