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

Sync with the stable documentation branch #17614

Closed
wants to merge 190 commits into from

Commits on Jan 23, 2023

  1. Add changelog for 3.3.0-RC1

    Kordyjan committed Jan 23, 2023
    Configuration menu
    Copy the full SHA
    5cc4a9c View commit details
    Browse the repository at this point in the history

Commits on Jan 26, 2023

  1. Fix incorrect TASTy version

    Kordyjan committed Jan 26, 2023
    Configuration menu
    Copy the full SHA
    5522929 View commit details
    Browse the repository at this point in the history
  2. Add changelog for 3.3.0-RC2

    Kordyjan committed Jan 26, 2023
    Configuration menu
    Copy the full SHA
    57a6de2 View commit details
    Browse the repository at this point in the history
  3. Release 3.3.0-RC2

    Kordyjan committed Jan 26, 2023
    Configuration menu
    Copy the full SHA
    8dbc905 View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2023

  1. Configuration menu
    Copy the full SHA
    033a3b8 View commit details
    Browse the repository at this point in the history

Commits on Feb 15, 2023

  1. Added jpath check to ClassLikeSupport getParentsAsTreeSymbolTuples

    Fixes #15927
    
    Check for whether the non-scala3 parent exists before checking the start
    and end of the span to confirm whether the span exists in
    getParentsAsTreeSymbolTuples.
    yzia2000 authored and Kordyjan committed Feb 15, 2023
    Configuration menu
    Copy the full SHA
    c188f1d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7ee369f View commit details
    Browse the repository at this point in the history

Commits on Feb 17, 2023

  1. Split out immutable GadtConstraint

    dwijnand authored and Kordyjan committed Feb 17, 2023
    Configuration menu
    Copy the full SHA
    92c5dad View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    58d0a29 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    abbb549 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6d141f3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4cc0e0d View commit details
    Browse the repository at this point in the history
  6. GADT: Use isPatternBound, ofc...

    dwijnand authored and Kordyjan committed Feb 17, 2023
    Configuration menu
    Copy the full SHA
    5453d5c View commit details
    Browse the repository at this point in the history
  7. GADT: Use =:= instead of Any/Nothing

    dwijnand authored and Kordyjan committed Feb 17, 2023
    Configuration menu
    Copy the full SHA
    ace96f7 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    67671ef View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    fad1584 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    e466fa4 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    ef8e855 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    2bfbe75 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    41cfb62 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    5803809 View commit details
    Browse the repository at this point in the history
  15. Add support for disabling redirected output in the REPL driver for us…

    …age in worksheets in the Scala Plugin for IntelliJ IDEA
    
    - Calling `setOut/setErr` in a concurrent environment without any synchronization (such as the Scala compile server in the Scala Plugin for IntelliJ IDEA, which is used to execute Scala 3 worksheets) can lead to unpredictable outcomes where the out/err streams are not restored properly after changing.
    - This change adds a new default method `redirectOutput` which can be overriden by others to control the redirecting behavior of the REPL driver.
    vasilmkd authored and Kordyjan committed Feb 17, 2023
    Configuration menu
    Copy the full SHA
    805c49f View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    b36f319 View commit details
    Browse the repository at this point in the history
  17. Backport "Add support for disabling redirected output in the REPL dri…

    …ver for usage in worksheets in the Scala Plugin for IntelliJ IDEA" (#16947)
    
    Backports #16810
    Kordyjan authored Feb 17, 2023
    Configuration menu
    Copy the full SHA
    ebb2eb5 View commit details
    Browse the repository at this point in the history
  18. Add missing criterion to subtype check

    Fixes #16850
    odersky authored and Kordyjan committed Feb 17, 2023
    Configuration menu
    Copy the full SHA
    ff006d0 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    a9e4da9 View commit details
    Browse the repository at this point in the history
  20. Avoid timeouts in community–build-C

    Increased timeout due to timeouts when running on dotty community build
    nicolasstucki authored and Kordyjan committed Feb 17, 2023
    Configuration menu
    Copy the full SHA
    f3347db View commit details
    Browse the repository at this point in the history
  21. Add changelog for 3.3.0-RC3

    Kordyjan committed Feb 17, 2023
    Configuration menu
    Copy the full SHA
    8562128 View commit details
    Browse the repository at this point in the history
  22. Release 3.3.0-RC3

    Kordyjan committed Feb 17, 2023
    Configuration menu
    Copy the full SHA
    b3c1c98 View commit details
    Browse the repository at this point in the history

Commits on Feb 21, 2023

  1. Fix HK quoted pattern type variables

    The issue was in the encoding into `{ExprMatchModule,TypeMatchModule}.unapply`.
    Specifically with the `TypeBindings` argument. This arguments holds the
    list of type variable definitions (`tpd.Bind` trees). We used a `Tuple`
    to list all the types inside. The problem is that higher-kinded type
    variables do not conform with the upper bounds of the tuple elements.
    The solution is to use an HList with any-kinded elements.
    nicolasstucki committed Feb 21, 2023
    Configuration menu
    Copy the full SHA
    014be6f View commit details
    Browse the repository at this point in the history
  2. Fix HK quoted pattern type variables (#16980)

    The issue was in the encoding into
    `{ExprMatchModule,TypeMatchModule}.unapply`. Specifically with the
    `TypeBindings` argument. This arguments holds the list of type variable
    definitions (`tpd.Bind` trees). We used a `Tuple` to list all the types
    inside. The problem is that higher-kinded type variables do not conform
    with the upper bounds of the tuple elements. The solution is to use an
    HList with any-kinded elements.
    
    Backport of #16907
    Kordyjan authored Feb 21, 2023
    Configuration menu
    Copy the full SHA
    aecbfa7 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2023

  1. Fix caching issue caused by incorrect isProvisional check

    A static TypeRef can still be provisional if it's currently being completed (see
    the logic in `Namer#TypeDefCompleter#typeSig`).
    
    Fixes #16950.
    smarter authored and Kordyjan committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    f0f6baf View commit details
    Browse the repository at this point in the history
  2. Fix race condition in new LazyVals

    szymon-rd authored and Kordyjan committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    1a77625 View commit details
    Browse the repository at this point in the history
  3. Do not depend on runtime lib in tests

    szymon-rd authored and Kordyjan committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    4a7e92b View commit details
    Browse the repository at this point in the history
  4. Disable test for Scalajs

    szymon-rd authored and Kordyjan committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    5801262 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    81c6d6e View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2023

  1. Configuration menu
    Copy the full SHA
    63ff068 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    786035e View commit details
    Browse the repository at this point in the history
  3. Fix #16822

    - Ignore synthetic local private
    - Update test suit
    PaulCoral authored and Kordyjan committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    aa601a1 View commit details
    Browse the repository at this point in the history
  4. Register usage of symbols in non-inferred type trees in CheckUnused

    fixes lampepfl#16930
    KacperFKorban authored and Kordyjan committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    85fa542 View commit details
    Browse the repository at this point in the history
  5. Traverse annotations instead of just registering

    - Traverse the tree of annotations
    - Update test suits
    PaulCoral authored and Kordyjan committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    ab28b09 View commit details
    Browse the repository at this point in the history
  6. Ignore parameter of accessors

    - Do not report parameter of accessors
    - Update test suit
    PaulCoral authored and Kordyjan committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    d4f8c74 View commit details
    Browse the repository at this point in the history
  7. Improve override detection in CheckUnused

    - CheckUnused detects override from base type in addition of `override` flag
    - Update test suit
    PaulCoral authored and Kordyjan committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    49686f8 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    e03fa1b View commit details
    Browse the repository at this point in the history
  9. Move tests

    szymon-rd authored and Kordyjan committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    606608a View commit details
    Browse the repository at this point in the history
  10. Remove unused import

    szymon-rd authored and Kordyjan committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    b050bda View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    2d41b46 View commit details
    Browse the repository at this point in the history
  12. Add failsafe for a case where prefixes in CheckUnused/prepareIndent f…

    …ormed an infinite cycle
    szymon-rd authored and Kordyjan committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    87d9e94 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    8bdef2f View commit details
    Browse the repository at this point in the history
  14. Add test for wunused Inlined call

    szymon-rd authored and Kordyjan committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    813a43b View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    06acf90 View commit details
    Browse the repository at this point in the history
  16. Adjust assertions in test

    szymon-rd authored and Kordyjan committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    0f6c42e View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    fbc6501 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    4070dbd View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    4644e5e View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    b72eade View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    432e829 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    24080f1 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    7cbdadf View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    ac06033 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    41e7418 View commit details
    Browse the repository at this point in the history
  26. Fix test for wunused alias deriving

    szymon-rd authored and Kordyjan committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    8262192 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    fd70247 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    ec298fa View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    87f8449 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    0d2977e View commit details
    Browse the repository at this point in the history
  31. Extracted isRenamedSymbol def

    szymon-rd authored and Kordyjan committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    c6a6656 View commit details
    Browse the repository at this point in the history
  32. Fix isRenamedSymbol method in WUnused

    szymon-rd authored and Kordyjan committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    79b87a0 View commit details
    Browse the repository at this point in the history
  33. Fix WUnused false positive in for

    szymon-rd authored and Kordyjan committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    2a2a111 View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    fd7b962 View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    6356a39 View commit details
    Browse the repository at this point in the history
  36. Fix instantation of CheckUnused phase

    szymon-rd authored and Kordyjan committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    774c4e9 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    a69b49f View commit details
    Browse the repository at this point in the history
  38. Add test cases for macro wunused

    szymon-rd authored and Kordyjan committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    7966b5c View commit details
    Browse the repository at this point in the history
  39. Apply review suggestions to WUnused PR

    szymon-rd authored and Kordyjan committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    644fee2 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    e369d90 View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    03dba67 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2023

  1. Configuration menu
    Copy the full SHA
    7017b8e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b4e5cb7 View commit details
    Browse the repository at this point in the history
  3. Add missing test for Wunused

    Kordyjan committed Apr 17, 2023
    Configuration menu
    Copy the full SHA
    2af117f View commit details
    Browse the repository at this point in the history
  4. Bring in #17263 to fix the tests.

    szymon-rd authored and Kordyjan committed Apr 17, 2023
    Configuration menu
    Copy the full SHA
    84458c7 View commit details
    Browse the repository at this point in the history
  5. Backport "Fix #16822" (#17267)

    Backports #16927
    Kordyjan authored Apr 17, 2023
    Configuration menu
    Copy the full SHA
    ff8e9f7 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5d76f39 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ebba1cc View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    20ebba5 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    942476c View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    cf6da33 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    1615cd2 View commit details
    Browse the repository at this point in the history
  12. Backport "WUnused: Fix for symbols with synthetic names and unused tr…

    …ansparent inlines" (#17274)
    
    Backports #17061
    Kordyjan authored Apr 17, 2023
    Configuration menu
    Copy the full SHA
    423bd1e View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    ae37e68 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    5e866e3 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    a6eee4f View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    29bc3db View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    c043299 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    7809f9b View commit details
    Browse the repository at this point in the history

Commits on Apr 18, 2023

  1. Check the status of coursier download in CoursierScalaTests.scala

    This should provide more insight on why #17119 happens.
    anatoliykmetyuk authored and Kordyjan committed Apr 18, 2023
    Configuration menu
    Copy the full SHA
    3156fe9 View commit details
    Browse the repository at this point in the history
  2. Add changelog for 3.3.0-RC4

    Kordyjan committed Apr 18, 2023
    Configuration menu
    Copy the full SHA
    22e6ffe View commit details
    Browse the repository at this point in the history
  3. Release 3.3.0-RC4

    Kordyjan committed Apr 18, 2023
    Configuration menu
    Copy the full SHA
    5990252 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2023

  1. Configuration menu
    Copy the full SHA
    40502e0 View commit details
    Browse the repository at this point in the history
  2. Fix compiler crash in WUnused

    szymon-rd authored and Kordyjan committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    72e5dd2 View commit details
    Browse the repository at this point in the history
  3. Change the order of checks

    szymon-rd authored and Kordyjan committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    46d9c07 View commit details
    Browse the repository at this point in the history
  4. Wunused: Check if symbol exists before isValidMemberDef check

    closes lampepfl#17309
    KacperFKorban authored and Kordyjan committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    716b867 View commit details
    Browse the repository at this point in the history
  5. Wunused: Include import selector bounds in unused checks

    closes lampepfl#17314
    KacperFKorban authored and Kordyjan committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    12cd96e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    74b0aa4 View commit details
    Browse the repository at this point in the history
  7. Update experimental definitions list

    mpilquist authored and Kordyjan committed Apr 26, 2023
    Configuration menu
    Copy the full SHA
    a55322d View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    a784926 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    14237d3 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    d64378b View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2023

  1. Configuration menu
    Copy the full SHA
    f079936 View commit details
    Browse the repository at this point in the history
  2. Add changelog for 3.3.0-RC5

    Kordyjan committed Apr 27, 2023
    Configuration menu
    Copy the full SHA
    909b56c View commit details
    Browse the repository at this point in the history
  3. Release 3.3.0-RC5

    Kordyjan committed Apr 27, 2023
    Configuration menu
    Copy the full SHA
    597144e View commit details
    Browse the repository at this point in the history

Commits on May 9, 2023

  1. Patmat: Use less type variables in prefix inference

    In code like:
    
        class Outer:
          sealed trait Foo
          case class Bar() extends Foo
    
          def mat(foo: Foo) = foo match
            case Bar() =>
    
    When in the course of decomposing the scrutinee's type, which is
    `Outer.this.Foo`, we're trying to instantiate subclass `Outer.this.Bar`,
    the `Outer.this` is fixed - it needn't be inferred, via type variables
    and type bounds.  Cutting down on type variables, particularly when GADT
    symbols are also present, can really speed up the operation, including
    making code that used to hang forever compile speedily.
    dwijnand authored and prolativ committed May 9, 2023
    Configuration menu
    Copy the full SHA
    3b9b83d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    752ad2f View commit details
    Browse the repository at this point in the history

Commits on May 12, 2023

  1. Fix #17187: allow patches with same span

    adpi2 authored and Kordyjan committed May 12, 2023
    Configuration menu
    Copy the full SHA
    9c1cdc8 View commit details
    Browse the repository at this point in the history
  2. Revert exact match in overlaps

    As suggested by @som-snytt in
    #17366 (review)
    adpi2 authored and Kordyjan committed May 12, 2023
    Configuration menu
    Copy the full SHA
    c1028a2 View commit details
    Browse the repository at this point in the history
  3. Raise a warning instead of an error for a type ascription on a patter…

    …n other than a variable or a number literal.
    
    This partially reverts the changes from #16150.
    This change is motivated by not breaking source compatibility for a number of projects in the Open Community Build.
    prolativ authored and Kordyjan committed May 12, 2023
    Configuration menu
    Copy the full SHA
    9a1e7cb View commit details
    Browse the repository at this point in the history
  4. * Preserve the more restrictive syntax for typed patterns in the lang…

    …uage specification
    
    * Make the parser's warning a migration warning
    prolativ authored and Kordyjan committed May 12, 2023
    Configuration menu
    Copy the full SHA
    16d68f6 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    4f2e819 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6629e13 View commit details
    Browse the repository at this point in the history
  7. Add changelog for 3.3.0-RC6

    Kordyjan committed May 12, 2023
    Configuration menu
    Copy the full SHA
    58256dd View commit details
    Browse the repository at this point in the history
  8. Release 3.3.0-RC6

    Kordyjan committed May 12, 2023
    Configuration menu
    Copy the full SHA
    9bae88a View commit details
    Browse the repository at this point in the history

Commits on May 23, 2023

  1. Set TASTy Version to 28.3.0

    Kordyjan committed May 23, 2023
    Configuration menu
    Copy the full SHA
    410e5df View commit details
    Browse the repository at this point in the history
  2. Add changelog for 3.3.0

    Kordyjan committed May 23, 2023
    Configuration menu
    Copy the full SHA
    92152f4 View commit details
    Browse the repository at this point in the history
  3. Release 3.3.0

    Kordyjan committed May 23, 2023
    Configuration menu
    Copy the full SHA
    5879ff1 View commit details
    Browse the repository at this point in the history

Commits on May 25, 2023

  1. Add changelog for 3.3.1-RC1

    Kordyjan committed May 25, 2023
    Configuration menu
    Copy the full SHA
    390f836 View commit details
    Browse the repository at this point in the history
  2. Release 3.3.1-RC1

    Kordyjan committed May 25, 2023
    Configuration menu
    Copy the full SHA
    dfb23f9 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3705c21 View commit details
    Browse the repository at this point in the history

Commits on May 29, 2023

  1. Configuration menu
    Copy the full SHA
    0fa1c91 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2023

  1. Configuration menu
    Copy the full SHA
    724340e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8810943 View commit details
    Browse the repository at this point in the history
  3. Update source-compatibility.md

    reorder the source versions
    bishabosha authored and julienrf committed May 30, 2023
    Configuration menu
    Copy the full SHA
    232180f View commit details
    Browse the repository at this point in the history

Commits on Jun 1, 2023

  1. Configuration menu
    Copy the full SHA
    8f01927 View commit details
    Browse the repository at this point in the history

Commits on Jun 21, 2023

  1. sort language versions to match natural ordering

    also fixes the bullet-point under 3.3 to actually be a bullet point
    bishabosha authored Jun 21, 2023
    Configuration menu
    Copy the full SHA
    38265fc View commit details
    Browse the repository at this point in the history
  2. sort language versions to match natural ordering (#18030)

    also fixes the bullet-point under 3.3 to actually be a bullet point.
    
    (the ordering now matches the enum in
    https://github.com/lampepfl/dotty/blob/main/compiler/src/dotty/tools/dotc/config/SourceVersion.scala)
    bishabosha authored Jun 21, 2023
    Configuration menu
    Copy the full SHA
    9819742 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2023

  1. Update indentation.md

    Quentin Bernet authored Jun 26, 2023
    Configuration menu
    Copy the full SHA
    28d207d View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2023

  1. Fix example that did not compile and following paragraph (#18065)

    Compiling the code on latest main gives:
    ```scala
    {
      val x = f(x: Int, y => // Recursive value x needs type
        x * (
          y + 1
        ) +
        (x +
        x)
      )
    }
    ```
    Which makes sense as we basically write `val x = f(x)`
    bishabosha authored Jun 27, 2023
    Configuration menu
    Copy the full SHA
    294b5da View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2023

  1. Backport #17615 (#17749)

    Backport #17615
    Fixes #17606
    Kordyjan authored Jun 28, 2023
    Configuration menu
    Copy the full SHA
    8f3b3c2 View commit details
    Browse the repository at this point in the history
  2. Fix accessibleType for package object prefixes

    Making a package object explicit re-computes the denotations of an overloaded method.
    So it should not be done after we have pruned down those denotations by an accessibility
    test. We now do it before checking accessibility.
    
    Fixes #15821
    odersky authored and Kordyjan committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    49680df View commit details
    Browse the repository at this point in the history
  3. Disable specs2 for now.

    odersky authored and Kordyjan committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    186e4be View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d6af4f9 View commit details
    Browse the repository at this point in the history
  5. Add changelog for 3.3.1-RC2

    Kordyjan committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    1451dc5 View commit details
    Browse the repository at this point in the history
  6. Release 3.3.1-RC2

    Kordyjan committed Jun 28, 2023
    Configuration menu
    Copy the full SHA
    c9bbcb0 View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2023

  1. Add clause for protected visibility from package objects

    We usually have an access rule that the access to a protected member `foo` in class `C`
    must be from somewhere nested in a subclass of `C`. But that fails if the member is
    accessed from a package object `p.package`. In that case, the access does not need to be in
    the same object, it just has to be in package `p`. This clause was previously missing
    and is now added.
    
    Why was this only recently discovered?
    
    #18057 fixed an issue where toplevel protected members were always accessible
    because explicit package object prefixes were added after the accessibility check was done,
    and would re-establish the previous members without doing an accessibility check. The fix was
    done by adding package objects first, then doing he rest of the checks. But that also means
    that protected toplevel objects now get checked as members of their synthetic package object
    instead of as members of their package.
    
    The change here also makes specs2 compile again.
    odersky authored and Kordyjan committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    aed47fd View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e5c3f2d View commit details
    Browse the repository at this point in the history
  3. Add changelog for 3.3.1-RC3

    Kordyjan committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    9cae4e8 View commit details
    Browse the repository at this point in the history
  4. Release 3.3.1-RC3

    Kordyjan committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    161de6e View commit details
    Browse the repository at this point in the history

Commits on Jul 11, 2023

  1. Revert "Include top-level symbols from same file in outer ambiguity e…

    …rror"
    
    This reverts commit 7d4e103.
    
    Closes #17433
    nicolasstucki authored and Kordyjan committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    011e667 View commit details
    Browse the repository at this point in the history
  2. Backport "Revert "Include top-level symbols from same file in outer a…

    …mbiguity error"" (#18182)
    
    Backports #17438
    Reverts #17033 that slipped through the cracks and got into 3.3.1,
    causing a regression.
    Kordyjan authored Jul 11, 2023
    Configuration menu
    Copy the full SHA
    ee42e03 View commit details
    Browse the repository at this point in the history
  3. Add changelog for 3.3.1-RC4

    Kordyjan committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    bf10893 View commit details
    Browse the repository at this point in the history
  4. Release 3.3.1-RC4

    Kordyjan committed Jul 11, 2023
    Configuration menu
    Copy the full SHA
    555df53 View commit details
    Browse the repository at this point in the history

Commits on Jul 14, 2023

  1. Update link to point to correct section

    In the reference, in Erased Definitions, link pointed to the Inline page, even though the content is in Compile Time Operations
    Quentin Bernet authored Jul 14, 2023
    Configuration menu
    Copy the full SHA
    c54bf67 View commit details
    Browse the repository at this point in the history
  2. Update link to point to correct section (#18208)

    In the reference, in Erased Definitions, link pointed to the Inline
    page, even though the content is in Compile Time Operations
    nicolasstucki authored Jul 14, 2023
    Configuration menu
    Copy the full SHA
    02717b6 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2023

  1. Configuration menu
    Copy the full SHA
    e1233d8 View commit details
    Browse the repository at this point in the history
  2. Fix regression with Overloaded methods returning Functions

    Before the regression, FunctionOf unapply would not try dealiasing,
    meaning that an aliased function type would be handled by a general
    case.
    To fix that, instead of handling Function types separately when
    filtering overloaded methods in `resolveOverloaded1`, we allow to
    fallback to the general case if the previous one returns nothing.
    Along with fixing the regression, this also improves other cases,
    one of which was added to the test.
    
    Readd a separate FunctionOf case, but with a fallback
    jchyb authored and Kordyjan committed Aug 2, 2023
    Configuration menu
    Copy the full SHA
    5f2450a View commit details
    Browse the repository at this point in the history
  3. Disallow taking singleton types of packages again

    Fixes #18109
    odersky authored and Kordyjan committed Aug 2, 2023
    Configuration menu
    Copy the full SHA
    b85cbb5 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2023

  1. A slightly more conservative version of #14128

    Two changes
    
     - Fix `hasUpperBound` to work correctly for higher-kinded types
     - A more conservative fix in `IsFullyDefinedAccumulator`. We now maintain
       the symmetry that
    
         - if variance < 0, we maximize
         - if variance > 0 (and Nothing is admissible) we minimize
         - only if variance = 0, we use the upper bound as a tie breaker
    
       Previously, we maximized even if variance > 0 if there was an upper but
       no lower bound. But that was asymmetric since there is no corresponding
       case where we minimize at variance < 0 if there is a lower but no upper
       bound.
    odersky authored and Kordyjan committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    110c91f View commit details
    Browse the repository at this point in the history
  2. Show Implicit Candidate & RefAndLevel

    dwijnand authored and Kordyjan committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    232c5f4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    48c994c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    c569a4f View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    518c020 View commit details
    Browse the repository at this point in the history
  6. Space: Revert how invariant targs are erased to fix regression

    The motivating case (i16451) is complicated, because it involves
    unchecked type arguments.  To fix the regression, I'm reverting the fix.
    dwijnand authored and Kordyjan committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    8678207 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ee25abf View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    35f07b2 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    952a811 View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2023

  1. Configuration menu
    Copy the full SHA
    7b4d3f0 View commit details
    Browse the repository at this point in the history
  2. Backport "Record failures to adapt application arguments" (#18378)

    Backports #18269
    
    Duplicate of #18372 that was autoclosed by github.
    Kordyjan authored Aug 10, 2023
    Configuration menu
    Copy the full SHA
    9156761 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e579b87 View commit details
    Browse the repository at this point in the history
  4. Add changelog for 3.3.1-RC5

    Kordyjan committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    5d6891f View commit details
    Browse the repository at this point in the history
  5. Release 3.3.1-RC5

    Kordyjan committed Aug 10, 2023
    Configuration menu
    Copy the full SHA
    0597482 View commit details
    Browse the repository at this point in the history

Commits on Aug 16, 2023

  1. Refine infoDependsOnPrefix

    infoDependsOnPrefix now also considers non-final term members. Before
    8d65f19 it only considered abstract types. Constructors were classified
    as non-final, which caused regression. We now exclude constructors
    specifically. Maybe we should instead classify them as effectively final.
    
    Fixes #18160
    odersky authored and Kordyjan committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    8e9b718 View commit details
    Browse the repository at this point in the history
  2. Make constructors effectively final

    This is mainly a cleanup.
    odersky authored and Kordyjan committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    d2a0b3c View commit details
    Browse the repository at this point in the history
  3. Do not compute protoFormal if param.tpt is empty

    This was accidentally moved before of the `if (!param.tpt.isEmpty)` guard in 0f7c3ab#diff-8c9ece1772bd78160fc1c31e988664586c9df566a1d22ff99ef99dd6d5627a90R1534
    
    Fixes #18276
    nicolasstucki authored and Kordyjan committed Aug 16, 2023
    Configuration menu
    Copy the full SHA
    0305d88 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2023

  1. Revert "Normalize match type usage during implicit lookup"

    This reverts commit 5bafff7.
    Kordyjan committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    6bf8ac9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f5fc096 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    eb0ce8f View commit details
    Browse the repository at this point in the history
  4. Revert "Normalize match type usage during implicit lookup" on 3.3.1 (#…

    …18440)
    
    Reverts #17457.
    This fix caused significant challenges in maintaining the source
    compatibility. We decided not to include it in 3.3.1. It will still be a
    part of 3.4 and future Scala Next versions.
    
    It is possible that in the future, an improved version of this fix will
    make it to one of 3.3.x releases.
    Kordyjan authored Aug 22, 2023
    Configuration menu
    Copy the full SHA
    ac2c884 View commit details
    Browse the repository at this point in the history
  5. Add changelog for 3.3.1-RC6

    Kordyjan committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    340303f View commit details
    Browse the repository at this point in the history
  6. Release 3.3.1-RC6

    Kordyjan committed Aug 22, 2023
    Configuration menu
    Copy the full SHA
    5f8485e View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2023

  1. Tweak selection from self types

    Previously, we rejected the case where a symbol of a self type selection
    was private if was not of the enclosing class. But that symbol could shadow
    a non-private symbol in a base class, so have to treat that case as well.
    
    Fixes #18631
    odersky authored and Kordyjan committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    88e6725 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e008975 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9659eb9 View commit details
    Browse the repository at this point in the history
  4. Revert "Add reflect defn.FunctionClass overloads"

    This reverts commit 9571b42.
    Kordyjan committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    fb65458 View commit details
    Browse the repository at this point in the history
  5. Revert "Add reflect defn.FunctionClass overloads" (#18473)

    Reverts #16849 on the LTS line.
    
    Introducing new experimental overload with fewer arguments is breaking
    source compatibility.
    
    Fixes #18414
    Kordyjan authored Aug 29, 2023
    Configuration menu
    Copy the full SHA
    eaa7e18 View commit details
    Browse the repository at this point in the history
  6. Add changelog for 3.3.1-RC7

    Kordyjan committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    24cd50d View commit details
    Browse the repository at this point in the history
  7. Release 3.3.1-RC7

    Kordyjan committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    ca00576 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2023

  1. Add changelog for 3.3.1

    Also fix typos in older changelogs
    Kordyjan committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    9b4ea8e View commit details
    Browse the repository at this point in the history
  2. Release 3.3.1

    Kordyjan committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    721e7c8 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2023

  1. Configuration menu
    Copy the full SHA
    99ca930 View commit details
    Browse the repository at this point in the history

Commits on Oct 1, 2023

  1. Fix open-classes.md

    dabrowski-adam authored Oct 1, 2023
    Configuration menu
    Copy the full SHA
    3eb354b View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2023

  1. Fix open-classes.md (#18630)

    `-source future` is still required as of 3.3 LTS.
    bishabosha authored Oct 2, 2023
    Configuration menu
    Copy the full SHA
    3332943 View commit details
    Browse the repository at this point in the history