-
Notifications
You must be signed in to change notification settings - Fork 146
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
Announcing Scala.js 1.18.1. #649
base: main
Are you sure you want to change the base?
Conversation
if (i > 40) throw new IllegalArgumentException | ||
} | ||
class Child extends Parent({ | ||
val p = try new Parent(42) catch { case _: IllegalArgumentException => break() } |
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.
IMO this is very confusing, because the Parent
class is also used as a value. How about:
val p = try new Parent(42) catch { case _: IllegalArgumentException => break() } | |
val p = try Integer.parseInt("foo") catch { case _: NumberFormatException => break() } |
And remove the check in Parent
?
The changes you are most likely to hit are: | ||
|
||
* We renamed `NoType` to `VoidType`, which represents the IR type `void`. | ||
`void` is now generally handled more regularly, as any other type of the type system. |
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.
`void` is now generally handled more regularly, as any other type of the type system. | |
`void` is now generally handled more regularly. |
?
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.
Updated.
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.
LGTM, but maybe we want to hold off until we know what the IR checking issue raised on Discord is about.
I just opened an issue and its fix PR in the core repo. It actually seems pretty important. Maybe we should immediately release a 1.18.1 and skip 1.18.0. |
@@ -34,3 +34,4 @@ | |||
- 1.13.0 | |||
- 1.16.0 | |||
- 1.17.0 | |||
- 1.18.0 |
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.
Should this be 1.18.1
?
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.
No, this is the list of base versions for IR. They're all .0
s.
No description provided.