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

Add type annotation for Optional.empty #10442

Merged
merged 1 commit into from
Sep 7, 2020
Merged

Add type annotation for Optional.empty #10442

merged 1 commit into from
Sep 7, 2020

Conversation

eatkins
Copy link
Contributor

@eatkins eatkins commented Sep 2, 2020

With sbt 1.4.x, the type is inferred as Optional[Nothing] rather than
Optional[ClassFileManager].

Pull Request Checklist

Helpful things

Fixes

Fixes #xxxx

Purpose

What does this PR do?

Background Context

Why did you take this approach?

References

Are there any relevant issues / PRs / mailing lists discussions?

With sbt 1.4.x, the type is inferred as Optional[Nothing] rather than
Optional[ClassFileManager].
@eatkins
Copy link
Contributor Author

eatkins commented Sep 2, 2020

I'm wondering if there was a regression in scala that caused the type inference to fail.

@mkurz
Copy link
Member

mkurz commented Sep 2, 2020

I guess this fixes #10431

@eatkins
Copy link
Contributor Author

eatkins commented Sep 2, 2020

It also needs sbt/zinc#909 to be fully fixed.

@mkurz mkurz merged commit d6e90b9 into playframework:master Sep 7, 2020
@eatkins eatkins deleted the sbt-1.4.x-compat branch September 7, 2020 15:53
@mkurz
Copy link
Member

mkurz commented Feb 7, 2021

@Mergifyio backport 2.8.x

@mkurz mkurz added this to the 2.8.8 milestone Feb 7, 2021
@mergify
Copy link
Contributor

mergify bot commented Feb 7, 2021

Command backport 2.8.x: success

Backports have been created

mergify bot added a commit that referenced this pull request Feb 8, 2021
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.

None yet

2 participants