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

Avoid native name clash #43

Merged
merged 1 commit into from
Feb 23, 2024

Conversation

natsukagami
Copy link
Contributor

In this file we declare the package gears.async.native while also
importing scala.scalanative.runtime.Continuations as native.

In Scala up until 3.3.1, native.suspend and such looks up on the renamed
import and the code compiles. Scala 3.4.0 looks for the name in the local
package, and hence does not compile.

In this file we declare the package `gears.async.native` while also
importing `scala.scalanative.runtime.Continuations` as `native`.

In Scala up until 3.3.1, `native.suspend` and such looks up on the renamed
import and the code compiles. Scala 3.4.0 looks for the name in the local
package, and hence does not compile.
@natsukagami natsukagami force-pushed the avoid-native-name-clash branch from 09ce735 to 67aaebf Compare February 23, 2024 13:49
@natsukagami natsukagami merged commit eb17247 into lampepfl:main Feb 23, 2024
3 checks passed
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.

1 participant