Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Don't copy the OVERRIDE flag in refinement decls #6302

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

Merged
merged 1 commit into from
Jun 4, 2018

Conversation

retronym
Copy link
Member

@retronym retronym commented Feb 2, 2018

typedRefinement defers the setting of this flag until the end of the
compilation unit, which means that inferred types that are derived from the
written refinement type can be unstable depending on whether they were
computed before or after the flag was set.

An alternative fix might be to just remove the setting of OVERRIDE in
in typedRefinement.unitToCheck.

The (last!) part of scala/scala-dev#405

Includes the commits of #6300 as it adds a new test case to DeterminismTest. Only the final commit is the subject of this pull request.

@retronym retronym requested a review from adriaanm February 2, 2018 07:00
@scala-jenkins scala-jenkins added this to the 2.13.0-M4 milestone Feb 2, 2018
@scala scala deleted a comment from retronym Feb 24, 2018
@scala scala deleted a comment from retronym Feb 24, 2018
@retronym retronym force-pushed the topic/stable-override branch from 15937e6 to 72d2c1f Compare March 12, 2018 06:38
@retronym retronym force-pushed the topic/stable-override branch from 72d2c1f to 5c27130 Compare March 22, 2018 00:34
@adriaanm adriaanm modified the milestones: 2.13.0-M4, 2.13.0-M5 Apr 30, 2018
@retronym retronym force-pushed the topic/stable-override branch from 5c27130 to 616f364 Compare May 4, 2018 06:11
@retronym retronym force-pushed the topic/stable-override branch from 616f364 to bbcd5f7 Compare May 12, 2018 16:29
@retronym
Copy link
Member Author

retronym commented May 13, 2018

/synch

@adriaanm
Copy link
Contributor

Needs a rebase

@retronym retronym force-pushed the topic/stable-override branch 3 times, most recently from 9d204fc to 2ea7f52 Compare May 30, 2018 03:31
typedRefinement defers the setting of this flag until the end
of the compilation unit, which means that inferred types that are
derived from the written refinement type can be unstable depending
on whether they were computed before or after the flag was set.

An alternative fix might be to just remove the setting of OVERRIDE
in typedRefinement.unitToCheck.
@lrytz lrytz force-pushed the topic/stable-override branch from 2ea7f52 to f6ca3dd Compare June 4, 2018 09:38
@lrytz
Copy link
Member

lrytz commented Jun 4, 2018

Rebased, LGTM. @adriaanm

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.

4 participants