Skip to content

Scala 3 SIPs, meta-issue for tracking #5221

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

Closed
15 of 25 tasks
sjrd opened this issue Oct 9, 2018 · 10 comments
Closed
15 of 25 tasks

Scala 3 SIPs, meta-issue for tracking #5221

sjrd opened this issue Oct 9, 2018 · 10 comments
Labels
itype:meta Issues about process/similar

Comments

@sjrd
Copy link
Member

sjrd commented Oct 9, 2018

Here is the list of Scala 3 removals/additions/changes that should be turned into SIPs.

For the October meeting (22.10.2018)

For the Nov. meetings

Feel free to edit/refine/etc.

@allanrenucci allanrenucci added the itype:meta Issues about process/similar label Oct 9, 2018
@allanrenucci
Copy link
Contributor

allanrenucci commented Oct 9, 2018

@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

@allanrenucci
Copy link
Contributor

trait parameters already have a SIP: https://docs.scala-lang.org/sips/trait-parameters.html

@sjrd Is it good as is?

@liufengyun
Copy link
Contributor

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 #5099 (comment)

@sjrd
Copy link
Member Author

sjrd commented Oct 9, 2018

trait parameters already have a SIP: https://docs.scala-lang.org/sips/trait-parameters.html

Yes, this one looks good 👍

@darjutak
Copy link

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:

@darjutak
Copy link

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

@smarter
Copy link
Member

smarter commented Oct 22, 2018

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 ?

@smarter

This comment has been minimized.

@SethTisue
Copy link
Member

@OlivierBlanvillain
Copy link
Contributor

I think we can close this one now 😺

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
itype:meta Issues about process/similar
Projects
None yet
Development

No branches or pull requests

7 participants