Skip to content

SIP-30 - @static fields and methods in Scala objects (SI-4581) #25

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 17 commits into from
Feb 27, 2023

Conversation

scala-improvement-bot
Copy link
Contributor

This pull request has been automatically created to import proposals from scala/docs.scala-lang

@scala-improvement-bot
Copy link
Contributor Author

This proposal is marked as 'withdrawn' because of inactivity. Feel free to re-open it again with updated content.

@SethTisue
Copy link
Member

@julienrf wasn't this implemented by scala/docs.scala-lang#491 ?

@julienrf
Copy link
Contributor

Hmm, I could not see any work related to this proposal after 2016, both in Scala 2 and Scala 3. Maybe I missed it?

@sjrd
Copy link
Member

sjrd commented Feb 27, 2023

It's the infamous SIP that made it into Scala 3 without being approved by the SIP committed. See for example these tests in dotty:
https://github.com/lampepfl/dotty/blob/main/tests/run/statics.scala

@julienrf julienrf restored the add-static-members branch February 27, 2023 09:42
@julienrf julienrf reopened this Feb 27, 2023
@julienrf julienrf merged commit e8716a5 into main Feb 27, 2023
@julienrf julienrf deleted the add-static-members branch February 27, 2023 09:42
@julienrf
Copy link
Contributor

Thank you for catching that Seth, and thank you Sébastien for the explanation!

I’ve updated the SIP status.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.