-
Notifications
You must be signed in to change notification settings - Fork 394
Proposed fix for #473 #474
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 [email protected]
|
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