Here is the list of Scala 3 removals/additions/changes that should be turned into SIPs.
Feel free to edit/refine/etc.
@lampepfl/dotty-core To avoid duplicate work: if you choose to work on one item, edit the issue by adding your name next to the item
trait parameters already have a SIP: https://docs.scala-lang.org/sips/trait-parameters.html
@sjrd Is it good as is?
Regarding trait/class parameters, there is a change from Scalac. The following code compiles in Dotty, but not Scalac:
class A(a: Int) {
trait Y {
val y = a
}
class Z(val o: A) extends o.Y {
val z = a
}
}
However, trait parameters cannot be used as parent arguments:
class A(a: Int) {
trait Y {
val y = a
}
trait Z(val o: A) extends o.Y { // error
val z = a
}
}
Related discussion https://github.com/lampepfl/dotty/pull/5099#issuecomment-420776248
trait parameters already have a SIP: https://docs.scala-lang.org/sips/trait-parameters.html
Yes, this one looks good :+1:
This is a gentle reminder:
SIP November meetings start on the 1st Nov. at 9 AM. and go on for the next 2 days.
Many of the Committee members are flying in just for this (total number 8 members joining), and it would be great if they could get some of the writeups beforehand to prepare. Suggestion deadline: October 22nd.
Please don't shoot the messenger (o:
Hi there Everyone, I've been speaking with some of you and I found out that this suggestion might be helpful to you as a guideline going forward, proposed by Eugene: https://gist.github.com/xeno-by/fdf652967727f94a9274ff62773acee0
It looks like the documentation shown on dotty.epfl.ch is outdated: it's missing recent specs addition, e.g. http://dotty.epfl.ch/docs/reference/intersection-types-spec.html is 404 but http://lampepfl.github.io/dotty/docs/reference/intersection-types-spec.html is working. @allanrenucci can you have a look ?
Due to issues with github webhooks, even http://lampepfl.github.io/dotty/docs isn't up to date currently, I recommend going directly to the source: https://github.com/lampepfl/dotty/tree/master/docs/docs/reference
should top level definitions be on this list? https://github.com/lampepfl/dotty/blob/cd3b1ed79cda47e99b7c2730677d9f1beac0f96f/docs/docs/reference/dropped-features/package-objects.md
this came up over at https://github.com/scala/scala/pull/7662 /cc @godenji
I think we can close this one now :smiley_cat:
Most helpful comment
This is a gentle reminder:
SIP November meetings start on the 1st Nov. at 9 AM. and go on for the next 2 days.
Many of the Committee members are flying in just for this (total number 8 members joining), and it would be great if they could get some of the writeups beforehand to prepare. Suggestion deadline: October 22nd.
Please don't shoot the messenger (o: