-
Couldn't load subscription status.
- Fork 1.4k
Merge series/1.x to series/2.x #7853
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
adamgfraser
merged 9 commits into
zio:series/2.x
from
sideeffffect:series/2.x-merge-1.x
Feb 22, 2023
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
4162585
Make ZManaged accessible (without macros) (#7120)
charlescd 54448fb
Fixed #6452 - Make Schedule.resetWhen/resetAfter behave like their veβ¦
sturmin bd80442
ZIO 1.x: Update izumi-reflect to 2.2.5 (#7790)
neko-kai 0475a0d
Update Scala.js and Scala Native to last supporting 2.11 (#7852)
sideeffffect b764b66
Merge branch 'series/1.x' into series/2.x-merge-1.x
sideeffffect babc2f6
Scala 3.2.2
sideeffffect de52e4a
Move zio.Experimental._ import
sideeffffect c3fc09a
Don't use java.util.stream.IntStream
sideeffffect f16d929
Don't use java.util.function.IntFunction in Scala Native
sideeffffect File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
core/js-jvm/src/main/scala/zio/UpdateRuntimeFlagsWithinPlatformSpecific.scala
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| package zio | ||
|
|
||
| import java.util.function.IntFunction | ||
|
|
||
| private[zio] trait UpdateRuntimeFlagsWithinPlatformSpecific { | ||
| // By the virtue of using IntFunction, it does not box. | ||
| // Soon available for Scala Native too: https://github.com/scala-native/scala-native/pull/3127 | ||
| type RuntimeFlagsFunc[A] = IntFunction[A] | ||
| } |
8 changes: 8 additions & 0 deletions
8
core/native/src/main/scala/zio/UpdateRuntimeFlagsWithinPlatformSpecific.scala
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| package zio | ||
|
|
||
| // This is split because `java.util.function.IntFunction` isn't available in Scala Native yet. | ||
| // Once it's available, this should be merged together with the `js-jvm` variant back to `shared`. | ||
| // https://github.com/scala-native/scala-native/pull/3127 | ||
| private[zio] trait UpdateRuntimeFlagsWithinPlatformSpecific { | ||
| type RuntimeFlagsFunc[A] = Int => A | ||
| } | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
btw, do we need to mark it as
private[zio]too?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think if the trait is package private and the only object that extends it is package private there is no need for the members to be package private as well.