Improved local-scope preparation for a with construct

Issue #276 closed
Josef Kučera created an issue

Hello,
I have discovered a small deficiency in scopeMap creation in the context of a with construct. I have checked the project history and made a small improvement to ReadWith function based on what commit 62069860ac004d7b1975bd917b81c0df01e057cd did for blocks processing. I am sharing a patch in the hope it will be useful.

Best regards,
Joe

Comments (4)

  1. Eric Grange repo owner

    Thanks! I added a test case also, if you have another test case idea closer to what you encountered, let me know

  2. Josef Kučera reporter

    Thanks! I have encountered almost the same issue: In my case the suggestions did not list a local variable inside the With block.

  3. Log in to comment