Proposed fix for #473#474
Proposed fix for #473#474kapilmb merged 4 commits intoPowerShell:developmentfrom kilasuit:development
Conversation
Re merge into my branch
|
That's not the right fix for this issue, because you could have scope identifiers with all caps, mixed upper and lowercase, etc. The comparison/lookup logic is simply doing a case sensitive lookup, and it should change to do a case insensitive lookup instead. |
|
@KirkMunro - I agree that the logic should be case insensitive however this is outside of my experience with C# - hence the "dirty fix" |
|
I wouldn't bother proposing dirty fixes in that case, because you're just *Kirk Munro * Need a PowerShell SME for a project at work? Contact me On Tue, Mar 22, 2016 at 11:40 AM, Ryan Yates notifications@github.com
|
|
I'm going to attempt to get this fixed properly by the end of the weekend with additional tests in place to cover additional scenarios suggested by @KirkMunro I think I'm almost there with it. |
|
Now updating the tests for this |
|
Thanks for the fix. Reviewed 1 of 1 files at r2, 1 of 1 files at r3. Comments from the review on Reviewable.io |
This adds the Capitalised versions of the Function & Variable scopes though this could perhaps be done much cleaner than in this way
This change is