Skip to content

reuse LockFile.GetAllDependenciesOf in Simplifier - #420

Merged
forki merged 1 commit into
fsprojects:masterfrom
theimowski:master
Dec 4, 2014
Merged

forki merged 1 commit into
fsprojects:masterfrom
theimowski:master

Conversation

@theimowski

Copy link
Copy Markdown
Member

No description provided.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

yes taking the lockfile looks good.

forki added a commit that referenced this pull request Dec 4, 2014
reuse LockFile.GetAllDependenciesOf in Simplifier
@forki
forki merged commit ab86b78 into fsprojects:master Dec 4, 2014

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why does this got removed?
If it was intentional, we should update the documentation.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

The behavior is still the same - GetAllDependenciesOf checks for strict mode, so with strict mode on, the references files will not be affected. The only change is that there'll be no warning anymore

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

And each reference file will be stated as already simplified, what is not really the case, right?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

after thinking bout it for a while it seems to me that simplify should really fail instantly if we detect strict mode. Why one would simplify having the strict mode on?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Yes, it seems to make no sense to support this combination.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Then I'll prohibit that in next PR

theimowski added a commit to theimowski/Paket that referenced this pull request Dec 9, 2014
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.

3 participants