Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[fix] Always use RuntimeNothing and RuntimeNull types in method parameters and return types#4064

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
WojciechMazur wants to merge5 commits intoscala-native:main
base:main
Choose a base branch
Loading
fromWojciechMazur:fix/issue4039

Conversation

WojciechMazur
Copy link
Contributor

Fixes#4039

We're using incorrect signatures for methods having parameter or return types set toNothing orNull - we should have always usedscala.runtime.Nothing$ andscala.runtime.Null$ instances. These are emitted by both JVM and Scala.js.

This change breaks the binary compatibility of NIR. For backward compatibility, it adopts the signatures produced by the pre 0.5.6 compiler.
Due to broken forward compatibility it probably should not be merged in 0.5.x series and we should fix issue#4039 in some other way.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Unreachable exception when conpilen dotty-cps-async tests with enabled stacktraces
1 participant
@WojciechMazur

[8]ページ先頭

©2009-2025 Movatter.jp