Skip to content

Implement stricter parsing in Requirements.parseRestrictionsLegacy (take 2) - #2824

Merged
forki merged 2 commits into
fsprojects:masterfrom
csmager:fw-parsing
Oct 6, 2017
Merged

forki merged 2 commits into
fsprojects:masterfrom
csmager:fw-parsing

Conversation

@csmager

@csmager csmager commented Oct 5, 2017

Copy link
Copy Markdown
Contributor

This supersedes reverted PR #2816, which caused issue #2822

It seems some existing files in the wild incorrectly used e.g. frameworks: net40 instead of framework: net40, and the previous 'loose' parsing would parse the resulting expression s net40 as = net40. The stricter version previously merged would bail as s isn't a valid framework.

This PR changes to first check for frameworks and then framework meaning the two are now interchangeable and existing files such as those described in #2822 will continue to work.

@forki

forki commented Oct 6, 2017

Copy link
Copy Markdown
Member

thank you so much!

@forki
forki merged commit a73c5e6 into fsprojects:master Oct 6, 2017
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