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

Fix #12621: Scala.js: Better error message for JS trait ctor param. #16811

Conversation

sjrd
Copy link
Member

@sjrd sjrd commented Feb 2, 2023

JS traits cannot have constructor params any more than they can have concrete term members. This improves the error message in that case.

JS traits cannot have constructor params any more than they can
have concrete term members. This improves the error message in
that case.
@bishabosha bishabosha enabled auto-merge February 2, 2023 14:21
@bishabosha bishabosha merged commit af95ceb into scala:main Feb 2, 2023
@bishabosha bishabosha deleted the sjs-better-error-msg-for-js-trait-ctor-param branch February 2, 2023 15:29
@Kordyjan Kordyjan added this to the 3.3.1 milestone Aug 1, 2023
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.

3 participants