Navigation Menu

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

dotty: 0.14.0-RC1 -> 0.19.0-RC1 #70037

Closed
wants to merge 4 commits into from
Closed

dotty: 0.14.0-RC1 -> 0.19.0-RC1 #70037

wants to merge 4 commits into from

Conversation

jedossa
Copy link

@jedossa jedossa commented Sep 29, 2019

Motivation for this change

dotty-0.18.1

Notable Changes

Language

  • Implement @main functions
  • Allow infix operators at start of line
  • Drop do while
  • Alternative Syntax for Control Expressions
  • Allow significant indentation syntax
  • Change indentation rules to allow copy-paste
  • Switch to the 2.13 standard library
  • Allow collective parameters for extension methods
  • Implement generic number literals

Metaprogramming

  • Add toExprOfTuple in scala.quoted
  • Make toExprOfTuple produce tuples with precise types
  • Add quoted.Liftable[TupleN] with N > 22 to the stdlib
  • Add quoted.Liftable[BigInt] and quoted.Liftable[BigDecimal] to the stdlib
  • Add quoted ExprOps toExprOfSeq
  • Re-contextualize Liftable.toExpr
  • toExprOfTuple method with precise types
    -Factor out staging from the core of scala.quoted
  • Add scala.quoted.Liftables to the stdlib
  • Remove scala.quoted.QuoteError
  • Create dotty-staging library

Type class derivation

  • Add documentation for type class derivation
  • Removed redundant Shape type
  • Support implicit scope augmentation for Mirror

Other

  • [DOC] Add ScalaDays 2019 talks
  • Release sbt-dotty 0.3.4, future-proof isDotty
  • In Scala.js mode, compile all lazy vals as thread-unsafe.

dotty: 0.19.0-RC1

Notable Changes

Syntax

  • Make indentation significant in old-style control syntax
  • Don't require colon after class or object signatures
  • Replace the[...] by summon[...]
  • Allow given bindings in patterns
  • Replace delegate match with summonFrom.
  • Switch to ? for wildcard types
  • Require (...) around parameters of a lambda
  • Drop old syntax styles for givens

Macros

  • Upgrade to scala-library 2.13.1
  • Detect macro dependencies within the current run
  • Add dotty-staging.g8 in the staging documentation
  • Intrinsify scala.compiletime.testing.typeChecks
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.
Notify maintainers

cc @karolchmist

@jedossa jedossa changed the title dotty: 0.14.0-RC1 -> 0.18.1 dotty: 0.14.0-RC1 -> 0.19.0-RC1 Sep 30, 2019
@karolchmist
Copy link
Member

Builds and runs ok for me, thx for updating it!

@karolchmist
Copy link
Member

I was wondering though if we should update to more stable releases, so to dotty-0.18.1 for example. @jedossa, do you need something from the 0.19.0-RC1 ?

@jedossa
Copy link
Author

jedossa commented Sep 30, 2019

@karolchmist it makes sense, setting to dotty- 0.18.1.

@stale
Copy link

stale bot commented Jun 1, 2020

Thank you for your contributions.
This has been automatically marked as stale because it has had no activity for 180 days.
If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.
Here are suggestions that might help resolve this more quickly:

  1. Search for maintainers and people that previously touched the
    related code and @ mention them in a comment.
  2. Ask on the NixOS Discourse. 3. Ask on the #nixos channel on
    irc.freenode.net.

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jun 1, 2020
@tomberek
Copy link
Contributor

tomberek commented Sep 7, 2020

Master is at 0.26.0-RC1. Closing as OBE.

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

Successfully merging this pull request may close these issues.

None yet

4 participants