Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: scala/scala3
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: language-reference-stable
Choose a base ref
...
head repository: scala/scala3
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref

Commits on Dec 19, 2005

  1. Switching to the new build system and to the ne...

    Switching to the new build system and to the new build system. This is a
    MAJOR commit, so be careful when updating.
    Gilles Dubochet committed Dec 19, 2005
    Copy the full SHA
    f58eacc View commit details

Commits on Dec 21, 2005

  1. No commit message

    odersky committed Dec 21, 2005
    Copy the full SHA
    1d81478 View commit details
  2. No commit message

    odersky committed Dec 21, 2005
    Copy the full SHA
    b765f98 View commit details

Commits on Jan 3, 2006

  1. No commit message

    odersky committed Jan 3, 2006
    Copy the full SHA
    90ccd91 View commit details
  2. No commit message

    odersky committed Jan 3, 2006
    Copy the full SHA
    cd33c1a View commit details

Commits on Jan 4, 2006

  1. No commit message

    odersky committed Jan 4, 2006
    Copy the full SHA
    db9b9db View commit details

Commits on Jan 7, 2006

  1. No commit message

    odersky committed Jan 7, 2006
    Copy the full SHA
    0380aa8 View commit details

Commits on Jan 9, 2006

  1. - replaced ":" by "requires"

    michelou committed Jan 9, 2006
    Copy the full SHA
    c61ba79 View commit details

Commits on Jan 13, 2006

  1. Updated Codification to actually work in presen...

    Updated Codification to actually work in presence of functions and
    block. Printer has been improved a little too.
    Gilles Dubochet committed Jan 13, 2006
    Copy the full SHA
    75777c1 View commit details
  2. Cleaned-up all keyword-substitution, executable...

    Cleaned-up all keyword-substitution, executable flag and end-of-line
    properties of files in 'scala/trunk'
    Gilles Dubochet committed Jan 13, 2006
    Copy the full SHA
    ed18b58 View commit details

Commits on Jan 17, 2006

  1. No commit message

    odersky committed Jan 17, 2006
    Copy the full SHA
    769465e View commit details

Commits on Jan 19, 2006

  1. Added process identifiers (class Pid) to thread...

    Added process identifiers (class Pid) to thread-based actors.
    phaller committed Jan 19, 2006
    Copy the full SHA
    70a7e4a View commit details
  2. Fixed conflicting self in scala.concurrent.Proc...

    Fixed conflicting self in scala.concurrent.Process.
    phaller committed Jan 19, 2006
    Copy the full SHA
    a5708c4 View commit details
  3. Use attributes instead of java.lang.Cloneable, ...

    Use attributes instead of java.lang.Cloneable, java.io.Serializable
    mihaylov committed Jan 19, 2006
    Copy the full SHA
    b3a8d94 View commit details
  4. use toList instead of elements.toList

    mihaylov committed Jan 19, 2006
    Copy the full SHA
    6d39354 View commit details
  5. - removed tabs in scala/concurrent/Process.scala

    michelou committed Jan 19, 2006
    Copy the full SHA
    1217f1d View commit details

Commits on Jan 20, 2006

  1. Improved TypedCode to support yet more code.

    Gilles Dubochet committed Jan 20, 2006
    Copy the full SHA
    7d56a2f View commit details
  2. No commit message

    odersky committed Jan 20, 2006
    Copy the full SHA
    12aea08 View commit details

Commits on Jan 22, 2006

  1. use the serializable attribute instead of java....

    use the serializable attribute instead of java.io.Serializable
    mihaylov committed Jan 22, 2006
    Copy the full SHA
    1302d11 View commit details
  2. added min(x: Int, y: Int): Int function

    mihaylov committed Jan 22, 2006
    Copy the full SHA
    d3c3e09 View commit details
  3. Complete rewrite:

     - uses directly Array[Int] instead of ResizableArray;
       the latter is polymorphic and uses boxed arrays
     - implement collection.BitSet and collection.mutable.BitSet as subclasses
       of collection.Set and collection.mutable.Set respectively with the
       corresponding change in the interface
     - collection.immutable.BitSet is likely to disappear because its semantics
       is subsumed by collection.BitSet.
    mihaylov committed Jan 22, 2006
    Copy the full SHA
    2ec0e41 View commit details
  4. Adjusted to the new interface of BitSet

    mihaylov committed Jan 22, 2006
    Copy the full SHA
    7047bb7 View commit details

Commits on Jan 25, 2006

  1. Added a fast subsetOf implementation

    mihaylov committed Jan 25, 2006
    Copy the full SHA
    5bcfcc0 View commit details
  2. - improved efficiency

    - fixed a bug in the handling of size
    mihaylov committed Jan 25, 2006
    Copy the full SHA
    35eea5e View commit details

Commits on Jan 26, 2006

  1. Added a deep-copy clone method

    mihaylov committed Jan 26, 2006
    Copy the full SHA
    8650bef View commit details
  2. Move the implicit BitSet=>Ordered[BitSet] coerc...

    Move the implicit BitSet=>Ordered[BitSet] coercion to
    automata/SubsetConstruction, where it is used
    mihaylov committed Jan 26, 2006
    Copy the full SHA
    13ad446 View commit details

Commits on Jan 30, 2006

  1. No commit message

    odersky committed Jan 30, 2006
    Copy the full SHA
    05ce11b View commit details

Commits on Feb 3, 2006

  1. Copy the full SHA
    38429eb View commit details

Commits on Feb 6, 2006

  1. No commit message

    odersky committed Feb 6, 2006
    Copy the full SHA
    7a989fa View commit details

Commits on Feb 9, 2006

  1. No commit message

    odersky committed Feb 9, 2006
    Copy the full SHA
    92efc01 View commit details

Commits on Feb 10, 2006

  1. An attribute that designates variable's accesso...

    An attribute that designates variable's accessors names as Java Beans
    compliant
    mihaylov committed Feb 10, 2006
    Copy the full SHA
    46eee63 View commit details

Commits on Feb 14, 2006

  1. Expanded Codification to support loops, conditi...

    Expanded Codification to support loops, conditions and assignation.
    Assignation is known to be highly instable and will change in the
    future: use at your own risks.
    Gilles Dubochet committed Feb 14, 2006
    Copy the full SHA
    d9ae639 View commit details
  2. changed handling of MatchError, prints string now

    Burak Emir committed Feb 14, 2006
    Copy the full SHA
    8ad9869 View commit details

Commits on Feb 17, 2006

  1. No commit message

    odersky committed Feb 17, 2006
    Copy the full SHA
    4c0f4d6 View commit details
  2. fix^2: import Predef._ in reflect.{Symbol, Type...

    fix^2: import Predef._ in reflect.{Symbol, Type} to get things to recompile.
    odersky committed Feb 17, 2006
    Copy the full SHA
    ec787dc View commit details
  3. corrected lastIndexOf parameter in file scala/r...

    corrected lastIndexOf parameter in file scala/reflect/Symbol.scala
    michelou committed Feb 17, 2006
    Copy the full SHA
    8cfc5a5 View commit details

Commits on Feb 21, 2006

  1. Turned TIMEOUT into a case object.

    mihaylov committed Feb 21, 2006
    Copy the full SHA
    3eaf6d2 View commit details

Commits on Feb 22, 2006

  1. adapted code to Scala 2 syntax in files src/exa...

    adapted code to Scala 2 syntax in files src/examples/**/*.scala
    michelou committed Feb 22, 2006
    Copy the full SHA
    ba5128b View commit details

Commits on Mar 1, 2006

  1. improved error message for missing key

    mihaylov committed Mar 1, 2006
    Copy the full SHA
    0bbf5c8 View commit details

Commits on Mar 2, 2006

  1. Rearranged header and updated copyright message

    mihaylov committed Mar 2, 2006
    Copy the full SHA
    0d6a49d View commit details

Commits on Mar 3, 2006

  1. Use 'mixin class' instead of 'trait'

    mihaylov committed Mar 3, 2006
    Copy the full SHA
    f587619 View commit details
  2. Small refactoring in some collection classes

    mihaylov committed Mar 3, 2006
    Copy the full SHA
    a95347b View commit details
  3. Remove files that were not required for compila...

    Remove files that were not required for compilation. Clean ignore
    patterns.
    Gilles Dubochet committed Mar 3, 2006
    Copy the full SHA
    f22fc82 View commit details

Commits on Mar 5, 2006

  1. Rearranged header and updated copyright info

    mihaylov committed Mar 5, 2006
    Copy the full SHA
    ff3a867 View commit details
  2. fixed compilation problem

    mihaylov committed Mar 5, 2006
    Copy the full SHA
    3d25440 View commit details

Commits on Mar 7, 2006

  1. added attribute 'remote' to method '$tag' in sc...

    added attribute 'remote' to method '$tag' in scala.ScalaObject
    michelou committed Mar 7, 2006
    Copy the full SHA
    8d7c468 View commit details
  2. Removed unnecessary files

    mihaylov committed Mar 7, 2006
    Copy the full SHA
    65cf5cd View commit details

Commits on Mar 8, 2006

  1. Uncommented the private[scala] access modifier ...

    Uncommented the private[scala] access modifier of class ::'s constructor
    paremeter
    mihaylov committed Mar 8, 2006
    Copy the full SHA
    5fa988f View commit details
  2. Torned is/asInstanceOf to isAsInstanceOf

    mihaylov committed Mar 8, 2006
    Copy the full SHA
    0b2a2f5 View commit details

Commits on Mar 9, 2006

  1. fix arrays some more.

    odersky committed Mar 9, 2006
    Copy the full SHA
    a5136c6 View commit details
Showing 2,022 changed files with 127,549 additions and 10,380 deletions.
1 change: 1 addition & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
46a26945a172429740ebdd1fc83517130670080b
5 changes: 5 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Any changes to the Scala 3 Standard Library must be approve
# by one of the officers responsible of maintaining it
/library/ @scala/stdlib-officers
/library-aux/ @scala/stdlib-officers
/library-js/ @scala/stdlib-officers
24 changes: 19 additions & 5 deletions .github/ISSUE_TEMPLATE/bug.md
Original file line number Diff line number Diff line change
@@ -9,19 +9,33 @@ assignees: ''

## Compiler version

If you're not sure what version you're using, run `print scalaVersion` from sbt
(if you're running scalac manually, use `scalac -version` instead).
If you're not sure which version you're using, run `print scalaVersion` from sbt.
(If you're running scalac manually, use `scalac -version` instead.)

If possible, check if your issue appears in the nightly version of the compiler! For example, in Scala CLI (the `scala`/`scala-cli` runner script), you can use `//> using scala 3.nightly` (or `-S 3.nightly` from the command line) to grab the latest one.

## Minimized code

<!--
This code should be self contained, compilable (with possible failures) and as small as possible.
Ideally, we should be able to just copy this code in a file and run `scalac` (and maybe `scala`) to reproduce the issue.
Ideally, we should be able to just copy this code to a file and run `scalac` (and maybe `scala`) to reproduce the issue.
If the code has external dependencies, please provide the Scala CLI directives (or SBT/other build tool configuration) that describe them.
Also note that it's easier and faster for the maintenance team to address issues minimised to reproduce bugs without external dependencies.
It's most convenient to also include `using` directives for the Scala version that demonstrates the problem,
any compiler command-line options, as well as dependencies. An example is provided.
It's also fine to paste the transcript of a REPL session. Note that some bugs may be specific to the REPL.
-->

```Scala
println("hello, world")
```scala
//> using scala 3.7.0
//> using options -Wall -Werror
//> using dep com.outr::scribe:3.16.1

@main def test = println("hello, world")
```

## Output
8 changes: 4 additions & 4 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -26,10 +26,10 @@ on:
- cron: '0 3 * * *' # Every day at 3 AM
workflow_dispatch:

# Cancels any in-progress runs within the same group identified by workflow name and GH reference (branch or tag)
# Cancels any in-progress runs within the same group identified by workflow name and GH reference (branch or tag)
# For example it would:
# - terminate previous PR CI execution after pushing more changes to the same PR branch
# - terminate previous on-push CI run after merging new PR to main
# - terminate previous on-push CI run after merging new PR to main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
@@ -692,7 +692,7 @@ jobs:
- name: Publish Nightly
if: "steps.not_yet_published.outcome == 'success'"
run: |
./project/scripts/sbtPublish ";project scala3-bootstrapped ;publishSigned ;sonatypeBundleRelease"
./project/scripts/sbtPublish ";project scala3-bootstrapped ;publishSigned ;sonaRelease"
nightly_documentation:
runs-on: [self-hosted, Linux]
@@ -862,7 +862,7 @@ jobs:
scala3-${{ env.RELEASE_TAG }}.msi
- name: Publish Release
run: ./project/scripts/sbtPublish ";project scala3-bootstrapped ;publishSigned ;sonatypeBundleUpload"
run: ./project/scripts/sbtPublish ";project scala3-bootstrapped ;publishSigned ;sonaUpload"


open_issue_on_failure:
1 change: 1 addition & 0 deletions .github/workflows/cla.yml
Original file line number Diff line number Diff line change
@@ -6,6 +6,7 @@ on:
jobs:
check:
runs-on: ubuntu-latest
if: github.event.pull_request.user.login != 'dependabot'
steps:
- name: Verify CLA
uses: scala/cla-checker@v1
19 changes: 0 additions & 19 deletions .github/workflows/language-reference.yaml
Original file line number Diff line number Diff line change
@@ -70,22 +70,3 @@ jobs:
fi
cd ..
backport-to-main:
name: Create pull request with backport to main
permissions:
pull-requests: write # for repo-sync/pull-request to create a PR
runs-on: ubuntu-latest
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
steps:
- uses: actions/checkout@v4
- uses: repo-sync/pull-request@v2
with:
destination_branch: main
pr_label: area:documentation
pr_title: Sync with the stable documentation branch
pr_body: |
This pull request is syncing the main with changes from language-reference-stable.
It was created automatically after ${{ github.event.head_commit.id }} by @${{ github.event.head_commit.author.username }}
pr_assignee: ${{ github.event.head_commit.author.username }}

5 changes: 3 additions & 2 deletions .github/workflows/lts-backport.yaml
Original file line number Diff line number Diff line change
@@ -7,15 +7,16 @@ on:

jobs:
add-to-backporting-project:
if: "!contains(github.event.push.head_commit.message, '[Next only]')"
if: "!contains(github.event.push.head_commit.message, '[Next only]') &&
github.repository == 'scala/scala3'"
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: coursier/cache-action@v6
- uses: VirtusLab/scala-cli-setup@v1.7.0
- uses: VirtusLab/scala-cli-setup@v1.8.4
- run: scala-cli ./project/scripts/addToBackportingProject.scala -- ${{ github.sha }}
env:
GRAPHQL_API_TOKEN: ${{ secrets.GRAPHQL_API_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/publish-sdkman.yml
Original file line number Diff line number Diff line change
@@ -46,7 +46,7 @@ jobs:
- platform: WINDOWS_64
archive : 'scala3-${{ inputs.version }}-x86_64-pc-win32.zip'
steps:
- uses: sdkman/sdkman-release-action@a60691d56279724b4c9ff0399c0ae21d641ab75e
- uses: sdkman/sdkman-release-action@2800d4359ae097a99afea7e0370f0c6e726182a4
with:
CONSUMER-KEY : ${{ secrets.CONSUMER-KEY }}
CONSUMER-TOKEN : ${{ secrets.CONSUMER-TOKEN }}
Loading