Skip to content

Announcing Scala.js 1.5.0. #539

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
merged 1 commit into from
Feb 12, 2021
Merged

Announcing Scala.js 1.5.0. #539

merged 1 commit into from
Feb 12, 2021

Conversation

sjrd
Copy link
Member

@sjrd sjrd commented Feb 12, 2021

No description provided.

@sjrd sjrd requested a review from gzm0 February 12, 2021 16:03
Copy link
Contributor

@gzm0 gzm0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Only one nit.

If a custom JS function type extends the special trait `js.ThisFunction`, its first argument on the Scala.js side maps to the `this` value in JavaScript.

Note that the built-in `js.FunctionN` and `js.ThisFunctionN` types fit those definitions, and are therefore "custom" JS function types themselves, that happen to be defined in the Scala.js standard library.
There are no more built-in function types.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not understand what this sentence means. Are you trying to say that there are not custom function types in the Scala.js language per-se? If yes, I think the previous sentence already does this sufficiently well.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, that was it. I removed the sentence.

@sjrd sjrd merged commit 4ef059b into scala-js:master Feb 12, 2021
@sjrd sjrd deleted the scalajs-1.5.0 branch February 12, 2021 16:58
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.

2 participants