Skip to content
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

Set DictionaryExtractionPrecedence to be higher than ?? #27

Merged
merged 4 commits into from
Feb 9, 2017

Conversation

AtomicCat
Copy link

Allows for entity["key"] ?? <default> syntax.

Copy link
Member

@cnoon cnoon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall PR looks good, I just had one comment.

XCTAssertEqual(string, "default string")
XCTAssertEqual(stringsArray.count, 2)
XCTAssertEqual(stringsArray[0], "default")
XCTAssertEqual(stringsArray[1], "value")
}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't understand why you replaced the test with a new one. The new test looks good, but why remove the old one? Was it not valid?

@cnoon cnoon self-assigned this Feb 9, 2017
@cnoon cnoon added this to the 2.2.1 milestone Feb 9, 2017
Copy link
Member

@cnoon cnoon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good dude!

@cnoon cnoon merged commit 63b4e15 into Nike-Inc:master Feb 9, 2017
@AtomicCat AtomicCat deleted the bugfix/extract-precedence branch February 9, 2017 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants