Skip to content

Synchronize language-reference-stable with 3.6.4 #22738

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

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
281 commits
Select commit Hold shift + click to select a range
cdd03b7
Align deep capture sets with reach capabilities
odersky Oct 12, 2024
822550d
Refactor handling of applications
odersky Oct 29, 2024
e7c018b
Handle reach capabilities correctly in markFree
odersky Oct 30, 2024
fcf4045
Rename @unbox to @use
odersky Oct 30, 2024
7c2a76b
Make sure we don't lose `erased` in method types on Setup
odersky Oct 30, 2024
2747f03
Drop curried use scheme
odersky Oct 30, 2024
17a4a8c
Stop markFree at nested methods
odersky Oct 31, 2024
02cd565
Allow reach capabilities from within a nested closure
odersky Oct 31, 2024
e6b08de
Drop code supporting previous unsound scheme for curried lambdas
odersky Oct 31, 2024
fd9e895
Re-enable handleEtaExpansionsSpecially setting
odersky Oct 31, 2024
4226a33
Disable reach capabilities in nested closures appearing without @use
odersky Oct 31, 2024
8f8a15f
Go back to sealed checking
odersky Nov 1, 2024
62b2f1c
Follow upper bounds of type variables when computing dcs
odersky Nov 2, 2024
0676450
Check that @use annotations only appear for method and class parameters
odersky Nov 2, 2024
96d1610
Refactorings and drop useExistential Config option
odersky Nov 2, 2024
adf6a25
Refactoring: Use common code for all markFree variants
odersky Nov 2, 2024
496c866
Fix dcs for invariant type parameters
odersky Nov 3, 2024
f4c09e3
Fix toFunctionType for methods containing reach capabilities in the r…
odersky Nov 3, 2024
c4c69b0
Expand criterion when to not check inferred types a bit
odersky Nov 5, 2024
91da9fb
Be more careful computing underlying types of reach capabilities
odersky Nov 5, 2024
34e947a
Polish code of markFree
odersky Nov 5, 2024
eb0577f
Revert change to Iterator
odersky Nov 8, 2024
2b51ee9
Document and polish CheckCaptures
odersky Nov 8, 2024
b9d485a
Drop legacy caps.unsafe operations
odersky Nov 8, 2024
1e79a2d
Don't show redudundant existental wrappers
odersky Nov 8, 2024
ff73a2f
Use unsafeAssumePure instead of asInstanceOf in stdlib-cc
odersky Nov 8, 2024
a98903c
Treat by-name closures specially in recheck
odersky Nov 11, 2024
d8ea08d
Polish and comment Setup class
odersky Nov 12, 2024
e309d5a
Some tweaks after code walkthrough
odersky Nov 15, 2024
6f51fc0
Address review comments
odersky Nov 21, 2024
da14277
Fix rebase breakage
odersky Nov 21, 2024
353f80b
Fix more rebase breakage
odersky Nov 22, 2024
64411b6
Consolidate CC (#21863)
noti0na1 Nov 22, 2024
7653e85
Delete duplicate inductive-implicits test
mbovel Nov 22, 2024
1e8bbca
Bump VirtusLab/scala-cli-setup from 1.5.3 to 1.5.4
dependabot[bot] Nov 25, 2024
d3b9d76
Comment out 35 more lines in inductive-implicits
mbovel Nov 22, 2024
e89a66c
Make context bounds for poly functions a standard feature (#22019)
KacperFKorban Nov 25, 2024
b989790
Bump VirtusLab/scala-cli-setup from 1.5.3 to 1.5.4 (#22020)
hamzaremmal Nov 25, 2024
5fb5ba6
sbt 1.10.5 (was 1.9.9) (#20157)
hamzaremmal Nov 25, 2024
0afabd6
Update Scala CLI to 1.5.4 (was 1.5.1) & `coursier` to 2.1.18 (was 2.1…
Gedochao Nov 25, 2024
75ddad2
[ISSUE-#19208] If scaladocs on file protocol don't do SPA routing. (#…
Math-ias Nov 26, 2024
c3d6c48
Rethrow SuspendExceptions caught in CodeGen phase (#22009)
hamzaremmal Nov 26, 2024
d4968e7
Fix .toTuple insertion
odersky Nov 26, 2024
d7aceee
Tweak other occurrences of `isNamedTuple`
odersky Nov 26, 2024
49f287a
Do not lift annotation arguments
mbovel Nov 26, 2024
a4ea8bf
Make NamedTupls an experimental feature again
WojciechMazur Nov 27, 2024
bcacaee
Do not lift annotation arguments (#22035)
mbovel Nov 27, 2024
861beee
Add migration rewrite for deprecated assignment syntax
WojciechMazur Nov 27, 2024
24c3e7f
Add migration rewrite deprecated assignment syntax
WojciechMazur Nov 27, 2024
688ed4f
Do not lift annotation arguments (bis)
mbovel Nov 27, 2024
10bb2e6
Make named tuples an experimental feature again (#22045)
WojciechMazur Nov 28, 2024
08d592f
Resolve name when named imp is behind wild imps
dwijnand Oct 31, 2024
ae00703
Update a test related to library cc
noti0na1 Nov 29, 2024
ca1b4c0
Update MAINTENANCE.md
bracevac Nov 29, 2024
a582b27
Fix .toTuple insertion (#22028)
odersky Nov 29, 2024
70df81d
Update a test related to scala2-library-cc-tasty (#22053)
noti0na1 Nov 29, 2024
31dd855
Fix namedTuples import
noti0na1 Nov 30, 2024
34f3993
Fix nightly build by updating a named tuple test with language import…
WojciechMazur Nov 30, 2024
921e9e0
Make capture parameters and members bounded by CapSet by default
noti0na1 Nov 21, 2024
c996062
Correct rules for CapSet; update definition for Contains; fix tests
noti0na1 Nov 24, 2024
8a15af3
Refine subsumes rule; fix test
noti0na1 Nov 26, 2024
092b358
Add constraint to capsOf
noti0na1 Nov 26, 2024
acde5c0
Update test
noti0na1 Nov 26, 2024
ed7eed6
Apply suggestions from code review
noti0na1 Nov 26, 2024
bf8dccc
Fix test
noti0na1 Nov 27, 2024
1fb05b2
Fix crash error
noti0na1 Nov 27, 2024
82c5512
Fix overriding check
noti0na1 Nov 28, 2024
0750d5c
Update Stepper in the library
noti0na1 Nov 29, 2024
1ed08de
Clean comments
noti0na1 Nov 29, 2024
c1a0835
Drop syntax sugar for capture set member
noti0na1 Nov 30, 2024
6866bd1
Update comment
noti0na1 Nov 30, 2024
6bf4483
Refine rules for capture parameters and members (#22000)
noti0na1 Dec 1, 2024
c77d7c1
Update MAINTENANCE.md (#22054)
bracevac Dec 2, 2024
300043e
Restore execution of parallel backend tests
WojciechMazur Nov 28, 2024
790a50a
chore: add workflow to trigger cc
hamzaremmal Nov 30, 2024
d40009a
chore: add workflow to trigger cc (#22060)
hamzaremmal Dec 2, 2024
f47d103
Bump webrick from 1.8.2 to 1.9.1 in /docs/_spec
dependabot[bot] Dec 2, 2024
0650ed7
Bump vedantmgoyal9/winget-releaser
dependabot[bot] Dec 2, 2024
dcc66c9
Extend compiletime.testing.typechecks with certain transform phases
jchyb Jul 12, 2024
25d9611
Apply review comments
jchyb Dec 2, 2024
2d2b2ad
Without boxing, just rerun that a named import is behind a wildcard one
dwijnand Dec 2, 2024
8cfa37a
Bump webrick from 1.8.2 to 1.9.1 in /docs/_spec (#22066)
SethTisue Dec 2, 2024
44be1f9
chore: trigger cc tests when changing one of the cc tests
hamzaremmal Dec 3, 2024
67024a9
Only trust the type application part for case class unapplies
noti0na1 Dec 3, 2024
a7b23d6
Move test to warn
noti0na1 Dec 3, 2024
75f1ec7
Add test cases project for presentation compiler
mbovel Dec 3, 2024
39f54df
Add test cases for #20560
mbovel Dec 3, 2024
a3425a9
Bump vedantmgoyal9/winget-releaser from b87a066d9e624db1394edcd947f8c…
hamzaremmal Dec 3, 2024
6a08590
Add test cases project for presentation compiler (#22101)
mbovel Dec 4, 2024
898f952
Do not return java outline dummy constructor in `primaryConstructor`
jchyb Dec 3, 2024
115de9d
fix match error in keyword completions
kasiaMarek Dec 4, 2024
de44d07
Introduce bindTypeSymbols utility in tpd.TreeOps
dwijnand Dec 4, 2024
2f6e60d
Add type avoidance to inferred MT bound lubbing
dwijnand Dec 4, 2024
fd7f451
Consider S a pseudo match alias
dwijnand Dec 4, 2024
045b92f
Exclude testPickling difference
dwijnand Dec 4, 2024
a67dbb0
fix match error in keyword completions (#22138)
tgodzik Dec 4, 2024
984e6df
Fix ASF call in ResolveSuper
dwijnand Dec 5, 2024
eb575a8
chore: trigger cc tests when changing one of the cc tests (#22098)
hamzaremmal Dec 5, 2024
7d9771d
Do not bring forward symbols created in transform and backend phases …
jchyb Dec 5, 2024
cb73df2
Update CLA check server url domain from lightbend.com to contibute.ak…
WojciechMazur Dec 5, 2024
191535b
Follow redirects when checkting CLA
WojciechMazur Dec 5, 2024
c61897d
Fix CLA checks after domain change of CLA check server (#22148)
hamzaremmal Dec 5, 2024
4839206
Widen singleton types when computing fields from .Fields
odersky Dec 5, 2024
585dda9
Refactor NotNullInfo to record every reference which is retracted once.
noti0na1 Sep 21, 2024
bcc9e68
Use a different rule for NotNullInfo
noti0na1 Sep 22, 2024
05c630a
Consider cases with Nothing type
noti0na1 Oct 11, 2024
d44147b
Apply suggestions from code review
noti0na1 Oct 14, 2024
f859afe
Add terminated info
noti0na1 Nov 1, 2024
158af7d
Fix deep NotNullInfo
noti0na1 Dec 6, 2024
00430c0
Treat asserted set of terminated NotNullInfo as universal set; fix test
noti0na1 Dec 7, 2024
4892e8c
Spec: Integrate the specification for match types.
sjrd Dec 9, 2024
1775d0b
Type avoidance in MT bound inference (#22142)
dwijnand Dec 9, 2024
705c33c
Limit exposure to ConcurrentModificationException when sys props are …
jtjeferreira Dec 10, 2024
200c038
Comment on the empty cases in notNullInfoFromCases.
noti0na1 Dec 10, 2024
e6b4222
Widen singleton types when computing fields from .Fields (#22149)
odersky Dec 10, 2024
31690d4
improve javaBootClassPath lazy evaluation
jtjeferreira Dec 10, 2024
ee0dd7a
Fix #21619: Refactor NotNullInfo to record every reference which is r…
noti0na1 Dec 10, 2024
ecf9be9
Fix Chocolatey publish workflow
WojciechMazur Dec 10, 2024
70cc1a1
fix: update `scala-cli.jar` path
chenrui333 Dec 10, 2024
30b3eb9
[CI]: Fix Chocolatey publish workflow (#22182)
hamzaremmal Dec 10, 2024
004cfc5
refactor: improve Given search preference warning
eed3si9n Dec 11, 2024
91063dd
fix: update `scala-cli.jar` path (#22185)
hamzaremmal Dec 11, 2024
7441791
Update reference, MiMa previous version and sync TASTy version (#22187)
WojciechMazur Dec 11, 2024
93ef810
Remove tests/pos-with-compiler-cc from VSCode ignored files
mbovel Dec 12, 2024
d685c0b
Remove tests/pos-with-compiler-cc from VSCode ignored files (#22198)
mbovel Dec 12, 2024
5b3d82a
Fix layout of released SDK archives, restore intermiediete top-level …
WojciechMazur Dec 12, 2024
6b9f9f7
Add type parameters derived from enum to default param getters of enu…
kasiaMarek Dec 6, 2024
20e6f11
Do not lift annotation arguments (bis) (#22046)
smarter Dec 12, 2024
0589be3
REPL: JLine: follow recommendation to use JNI, not JNA
SethTisue Dec 13, 2024
e5e4c40
JLine 3.27.1 (was 3.27.0)
SethTisue Dec 13, 2024
7573951
Refactor: improve Given search preference warning (#22189)
noti0na1 Dec 13, 2024
5e54eba
Merge -Xno-decode-stacktraces with -Xno-enrich-error-messages
odersky Dec 14, 2024
e926bad
Update Maintenance.md
odersky Dec 14, 2024
9d36dd1
Fix ScalaSettingsTest
odersky Dec 14, 2024
2dbb27c
Update Maintenance.md (#22209)
odersky Dec 16, 2024
da176c3
Only count associated files of direct members of package objects in d…
KacperFKorban Dec 16, 2024
ecccfc9
Add hint when found cc language import in repl
Linyxus Dec 16, 2024
958371c
Refine the hint
Linyxus Dec 16, 2024
45f0d60
in CI, use new standard scala/cla-checker action
SethTisue Dec 12, 2024
7dc5008
in CI, use new standard scala/cla-checker action (#22203)
hamzaremmal Dec 16, 2024
0937563
Also perform change in error messages
odersky Dec 16, 2024
2e409e1
Fix the description
Linyxus Dec 16, 2024
c79b212
Add repl tests
Linyxus Dec 16, 2024
8b7c98c
Fix typo
odersky Dec 16, 2024
266253d
Merge -Xno-decode-stacktraces with -Xno-enrich-error-messages (#22208)
odersky Dec 17, 2024
6ae9548
use new infer expected type for singleton complations (#21421)
tgodzik Dec 17, 2024
4961d1e
chore: use sbt/setup-sbt when using ubuntu-latest image
hamzaremmal Dec 17, 2024
3f184c7
Add a hint for using global language import with REPL (#22220)
noti0na1 Dec 17, 2024
77376fe
chore: use sbt/setup-sbt when using ubuntu-latest image (#22227)
hamzaremmal Dec 17, 2024
72848b3
fix: add sbt/setup-sbt for the dependency graph workflow
hamzaremmal Dec 17, 2024
47f7d14
fix: add sbt/setup-sbt for the dependency graph workflow (#22228)
hamzaremmal Dec 17, 2024
4285536
Refactor handling of rechecked types
odersky Dec 17, 2024
e52aea4
Resolve name when named imp is behind wild imps (#21888)
odersky Dec 17, 2024
80d00f3
replace deprecated AnyRefMap
xuwei-k Dec 17, 2024
ae80285
Make sure symbols in annotation trees are fresh before pickling (#22002)
odersky Dec 17, 2024
54312c6
fix: better error messages when an enum derives from AnyVal
hamzaremmal Dec 18, 2024
60b5dd1
fix: better error messages when an enum derives from AnyVal (#22236)
hamzaremmal Dec 18, 2024
442e6a0
Fix #22226: Use `classOf[BoxedUnit]` for Unit array in `ArrayConstruc…
sjrd Dec 18, 2024
3ac5f2d
Teach AvoidMap to strip opaque alias refinements
dwijnand Dec 12, 2024
56b60ac
Re-skolem type prefixes post-unpickling
dwijnand Dec 17, 2024
bd1f004
Fix #22226: Use `classOf[BoxedUnit]` for Unit array in `ArrayConstruc…
hamzaremmal Dec 18, 2024
08fef87
Refactor OpaqueProxy (de)construction
dwijnand Dec 18, 2024
4b7f321
replace deprecated AnyRefMap (#22230)
mbovel Dec 19, 2024
0041987
Implement `tracked` members (#21761)
KacperFKorban Dec 19, 2024
7ae2d65
REPL: JLine: follow recommendation to use JNI, not JNA; also JLine 3.…
WojciechMazur Dec 19, 2024
479aff5
Update asm to patched 9.7.1
Philippus Dec 19, 2024
0bfa1af
Limit exposure to ConcurrentModificationException when sys props are …
SethTisue Dec 20, 2024
ad6e194
Fix presentation compiler testcases
rochala Dec 20, 2024
8a2961b
Fix presentation compiler testcases (#22253)
mbovel Dec 20, 2024
3e62731
REPL: Add back `:silent` command (#22248)
natsukagami Dec 20, 2024
cd802dc
Update asm to patched 9.7.1 (#22250)
sjrd Dec 20, 2024
669972b
Update Example referring to updated macros-spec.md
ozenzin Dec 20, 2024
d50973b
Documentation only: update Example code linked to obsolete content in…
tgodzik Dec 20, 2024
5ac4d73
Drop unused type alias
odersky Dec 23, 2024
4d3f757
Refactor handling of rechecked types (#22229)
odersky Dec 23, 2024
e464c18
Scaladoc: add support for named tuples
Florian3k Dec 23, 2024
0ae68cf
Tweak ExtensionNullifiedByMember
som-snytt Dec 29, 2024
ca0c902
Scaladoc: add support for named tuples (#22263)
tgodzik Dec 30, 2024
aa44a3c
ExtensionNullifiedByMember requires both opaque params
som-snytt Dec 30, 2024
9ba1602
Set referenceVersion to 3.6.3-RC2
WojciechMazur Dec 30, 2024
1f0c576
chore: Set referenceVersion to 3.6.3-RC2 (#22282)
WojciechMazur Dec 31, 2024
1448123
Fix inline reduction for CaseDef guards with asInstanceOf (#22305)
jchyb Jan 3, 2025
8227258
fix: typo in documentation for Tuple.zip
xiaoshihou514 Jan 6, 2025
1fbaafc
Fail more eagerly when trying to adapt named unapply patterns
KacperFKorban Jan 6, 2025
d16453e
Tweak ExtensionNullifiedByMember (#22268)
sjrd Jan 6, 2025
dc0bb59
fix: typo in documentation for Tuple.zip (#22313)
SethTisue Jan 6, 2025
1f28390
Try implict searching after finding dynamic select
noti0na1 Jan 7, 2025
200548e
Add test to pickling list
noti0na1 Jan 7, 2025
15ea35b
Fix #20512: Try implicit searching after finding dynamic select (#22318)
noti0na1 Jan 8, 2025
2ae14c2
chore: add regression test for #22320
hamzaremmal Jan 8, 2025
1f2a835
fix: align the spec to allow the marker
hamzaremmal Jan 8, 2025
ec0a310
Add regression test for #22320 (#22321)
hamzaremmal Jan 8, 2025
5ea7c13
Add REPL init script setting
noti0na1 Dec 13, 2024
ff448f9
Align the spec to allow the marker (#22323)
hamzaremmal Jan 8, 2025
f8159a3
Fix #22051: only trust the type application part for case class unapp…
noti0na1 Jan 8, 2025
00e07c4
Update default value
noti0na1 Jan 8, 2025
87e084e
Add a script test
noti0na1 Jan 8, 2025
285cd40
Fix inductive-implicits benchmark (#22007)
hamzaremmal Jan 8, 2025
34e5d56
copyright 2025
SethTisue Jan 8, 2025
d7dc2a6
Extend compiletime.testing.typechecks with certain transform phases (…
hamzaremmal Jan 9, 2025
add1797
Do not return java outline dummy constructor in `primaryConstructor` …
hamzaremmal Jan 9, 2025
045434c
Spec: Integrate the specification for match types. (#22164)
odersky Jan 9, 2025
0ecc057
Fail more eagerly when trying to adapt named unapply patterns (#22315)
odersky Jan 9, 2025
0677702
Partial Fix #21242: Add REPL init script setting (#22206)
noti0na1 Jan 9, 2025
bbdf3cb
Move cc tests to captures subdirectories
odersky Jan 9, 2025
8af61b5
Move cc tests to captures subdirectories (#22331)
noti0na1 Jan 9, 2025
a50a1e4
Copyright 2025 (#22326)
SethTisue Jan 9, 2025
f06b95f
Fix coverage serialization when encountering macro suspension (#22303)
jchyb Jan 10, 2025
5134eed
fix: connect the input to the compiler in sbt
hamzaremmal Jan 10, 2025
dd6b6db
chore: normalise the types for Type Mismatch Error E007
hamzaremmal Jan 10, 2025
c71b253
Rollback constraints in compareAppliedTypeParamRef
mbovel Jan 10, 2025
5176f9f
Connect the input to the compiler in `sbt` (#22336)
hamzaremmal Jan 10, 2025
cc78467
Undo patch of double-block apply
som-snytt Aug 16, 2024
937bc4c
fix: correctly print litteral types in the refined printer
hamzaremmal Jan 12, 2025
2b6dac7
fix: drop jackson-module-scala from CB
hamzaremmal Jan 12, 2025
ae980a7
fix: drop jackson-module-scala from CB (#22353)
hamzaremmal Jan 12, 2025
f6d6b17
Fix crash when initializing val in ByName closure
q-ata Jan 13, 2025
492c0e6
fix: correctly print litteral types in the refined printer (#22351)
hamzaremmal Jan 13, 2025
af22ce2
Normalise the types for Type Mismatch Error (E007) (#22337)
hamzaremmal Jan 13, 2025
5369d1a
Rollback constraints in compareAppliedTypeParamRef (#22339)
smarter Jan 13, 2025
74aa123
Drop `EmptyTuple` handling from `NamedTupleDecomposition.apply`
EugeneFlesselle Jan 10, 2025
a5a9fc8
Fixes for isLegalPrefix change (#22241)
odersky Jan 13, 2025
f23f7c6
Detail selectionType usage in Inliner typedSelect
dwijnand Jan 13, 2025
af655c9
Append instead of prepending import selectors for the current scope w…
KacperFKorban Jan 13, 2025
3d11e5e
Handle TypeProxy of Named Tuples, minimal fix without refactoring
aherlihy Jan 8, 2025
5b31eda
Refactor check into NamedTuple.unapply for consistency
aherlihy Jan 10, 2025
be88246
remove normalize and rely on stackoverflow
aherlihy Jan 10, 2025
f54f5d3
Revert "remove normalize and rely on stackoverflow" because test slow…
aherlihy Jan 10, 2025
d42347f
Re-add test that will pass when #22340 is merged
aherlihy Jan 10, 2025
83ae00d
Update rebased
aherlihy Jan 13, 2025
f6b49df
Revert ListBuffer construction in Rewrites.scala
bracevac Jan 13, 2025
c5bf0e0
Detail selectionType usage in Inliner typedSelect (#22358)
dwijnand Jan 13, 2025
49839cd
Undo patch of double-block apply (#21982)
bracevac Jan 13, 2025
c10def4
Handle TypeProxy of Named Tuples in unapply (#22325)
odersky Jan 13, 2025
ad90f14
Fix crash when initializing val in ByName closure (#22354)
odersky Jan 14, 2025
d5b5def
Fix #21841: Check more that an `unapplySeq` on a `NonEmptyTuple` is v…
sjrd Jan 14, 2025
1bcc03c
Validate named patterns for case classes (#22242)
rochala Jan 14, 2025
312c89a
Fix #21841: Check more that an `unapplySeq` on a `NonEmptyTuple` is v…
odersky Jan 14, 2025
4773332
[CI]: Replace deprecated `actions/create-release` and `actions/upload…
WojciechMazur Jan 15, 2025
b455651
Add changelog for 3.6.4-RC1
WojciechMazur Jan 16, 2025
bc3e415
Release 3.6.4-RC1
WojciechMazur Jan 16, 2025
c4a1896
Revert "Drop phase.isTyper use in isLegalPrefix/asf"
WojciechMazur Feb 24, 2025
e25316c
Adjust captures/lazylist test
WojciechMazur Feb 24, 2025
b3a3738
Revert "Drop phase.isTyper use in isLegalPrefix/asf" from Scala 3.6.4…
WojciechMazur Feb 26, 2025
27a73e9
Fix chocolatey-test when used in stable releases
WojciechMazur Jan 20, 2025
e3b2838
Add changelog for 3.6.4-RC2
WojciechMazur Feb 26, 2025
9d7f439
Release 3.6.4-RC2
WojciechMazur Feb 26, 2025
4377e99
Add changelog for 3.6.4
WojciechMazur Mar 5, 2025
6b2b881
Release 3.6.4
WojciechMazur Mar 5, 2025
cb2e21a
Merge branch 'release-3.6.4' into language-reference-stable
WojciechMazur Mar 7, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,5 @@ RUN apt-get update && \
# Install sbt
ENV SBT_HOME /usr/local/sbt
ENV PATH ${SBT_HOME}/bin:${PATH}
ENV SBT_VERSION 1.9.0
ENV SBT_VERSION 1.10.5
RUN curl -sL "https://github.com/sbt/sbt/releases/download/v$SBT_VERSION/sbt-$SBT_VERSION.tgz" | gunzip | tar -x -C /usr/local
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE/fix-issue.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ assignees: ''

<!--
TODO first sign the CLA
https://www.lightbend.com/contribute/cla/scala
https://contribute.akka.io/cla/scala
-->

## Fix #XYZ
Expand Down
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE/other-pr.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ assignees: ''

<!--
TODO first sign the CLA
https://www.lightbend.com/contribute/cla/scala
https://contribute.akka.io/cla/scala
-->

## Description
Expand Down
19 changes: 14 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@ 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)
# 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
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

env:
DOTTY_CI_RUN: true
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}
Expand Down Expand Up @@ -818,22 +826,23 @@ jobs:
path: .
- name: Prepare MSI package
shell: bash
run: |
run: |
msiInstaller="scala3-${{ env.RELEASE_TAG }}.msi"
mv scala.msi "${msiInstaller}"
sha256sum "${msiInstaller}" > "${msiInstaller}.sha256"

- name: Install GH CLI
uses: dev-hanz-ops/[email protected]
with:
gh-cli-version: 2.59.0

gh-cli-version: 2.59.0
# Create the GitHub release
- name: Create GitHub Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
shell: bash
run: |
# We need to config safe.directory in every step that might reference git
# It is not persisted between steps
git config --global --add safe.directory /__w/scala3/scala3
gh release create \
--draft \
Expand Down Expand Up @@ -901,14 +910,14 @@ jobs:
uses: ./.github/workflows/build-chocolatey.yml
needs: [ build-sdk-package ]
with:
version: 3.6.0-local # TODO: FIX THIS
version: 3.6.0-SNAPSHOT # Fake version, used only for choco tests
url : https://api.github.com/repos/scala/scala3/actions/artifacts/${{ needs.build-sdk-package.outputs.win-x86_64-id }}/zip
digest : ${{ needs.build-sdk-package.outputs.win-x86_64-digest }}

test-chocolatey-package:
uses: ./.github/workflows/test-chocolatey.yml
with:
version : 3.6.0-local # TODO: FIX THIS
version : 3.6.0-SNAPSHOT # Fake version, used only for choco tests
java-version: 8
if: github.event_name == 'pull_request' && contains(github.event.pull_request.body, '[test_chocolatey]')
needs: [ build-chocolatey-package ]
17 changes: 4 additions & 13 deletions .github/workflows/cla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,11 @@ on:
pull_request:
branches-ignore:
- 'language-reference-stable'
push:
branches:
- 'language-reference-stable'
merge_group:
permissions:
contents: write
pull-requests: write

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: ./project/scripts/check-cla.sh
if: github.event_name == 'pull_request'
env:
AUTHOR: ${{ github.event.pull_request.user.login }}
- name: Verify CLA
uses: scala/cla-checker@v1
with:
author: ${{ github.event.pull_request.user.login }}
2 changes: 1 addition & 1 deletion .github/workflows/lts-backport.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
with:
fetch-depth: 0
- uses: coursier/cache-action@v6
- uses: VirtusLab/[email protected].3
- uses: VirtusLab/[email protected].4
- run: scala-cli ./project/scripts/addToBackportingProject.scala -- ${{ github.sha }}
env:
GRAPHQL_API_TOKEN: ${{ secrets.GRAPHQL_API_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-chocolatey.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ jobs:
with:
name: scala.nupkg
- name: Publish the package to Chocolatey
run: choco push scala.nupkg --source https://push.chocolatey.org/ --api-key ${{ secrets.API-KEY }}
run: choco push scala.${{inputs.version}}.nupkg --source https://push.chocolatey.org/ --api-key ${{ secrets.API-KEY }}

2 changes: 1 addition & 1 deletion .github/workflows/publish-winget.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
publish:
runs-on: windows-latest
steps:
- uses: vedantmgoyal9/winget-releaser@b87a066d9e624db1394edcd947f8c4e5a7e30cd7
- uses: vedantmgoyal9/winget-releaser@4ffc7888bffd451b357355dc214d43bb9f23917e
with:
identifier : Scala.Scala.3
version : ${{ inputs.version }}
Expand Down
31 changes: 31 additions & 0 deletions .github/workflows/test-cc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Scala 3 with Capture Checking

on:
push:
branches:
- main
pull_request:
paths:
- .github/workflows/test-cc.yml
- scala2-library-cc/**
- scala2-library-cc-tasty/**
- compiler/src/dotty/tools/dotc/cc/**
## Capture Checking Tests
- tests/pos-custom-args/captures/**
- tests/run-custom-args/captures/**
- tests/neg-custom-args/captures/**

env:
DOTTY_CI_RUN: true
DEVELOCITY_ACCESS_KEY: ${{ secrets.DEVELOCITY_ACCESS_KEY }}

jobs:
suite-with-stdlib-cc:
name: Test Suite with the CC Standard Library
runs-on: ubuntu-latest
steps:
- name: Git Checkout
uses: actions/checkout@v4
- uses: sbt/setup-sbt@v1
- name: Test with Scala 2 library with CC TASTy
run: ./project/scripts/sbt ";set ThisBuild/Build.scala2Library := Build.Scala2LibraryCCTasty ;scala3-bootstrapped/test"
5 changes: 4 additions & 1 deletion .github/workflows/test-chocolatey.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,10 @@ on:

env:
CHOCOLATEY-REPOSITORY: chocolatey-pkgs
DOTTY_CI_INSTALLATION: ${{ secrets.GITHUB_TOKEN }}
# Controls behaviour of chocolatey{Install,Uninstall}.ps1 scripts
# During snapshot releases it uses a different layout and requires access token to GH Actions artifacts
# During stable releases it uses publically available archives
DOTTY_CI_INSTALLATION: ${{ endsWith(inputs.version, '-SNAPSHOT') && secrets.GITHUB_TOKEN || '' }}

jobs:
test:
Expand Down
3 changes: 1 addition & 2 deletions .vscode-template/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"**/*.class": true,
"**/*.tasty": true,
"**/target/": true,
"community-build/community-projects": true,
"tests/pos-with-compiler-cc/dotc/**/*.scala": true
"community-build/community-projects": true
}
}
55 changes: 32 additions & 23 deletions MAINTENANCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,39 +63,48 @@ At the end of their supervision period, the supervisor reports to the team durin

## Maintenance List

The following is the list of all the principal areas of the compiler and the core team members who are responsible for their maintenance:
The following is the list of all the principal areas of the compiler and the internal team members who are responsible for their maintenance:

### Compiler
- Parser: @odersky, @hamzaremmal
- Typer: @odersky, @smarter, (@dwijnand), @noti0nal
- Parser: @odersky, @hamzaremmal, @KacperFKorban
- Typer: @odersky, @smarter, (@dwijnand), @noti0nal, @EugeneFlesselle, @KacperFKorban, @bracevac
- Erasure: @smarter, @odersky
- Enums: @bishabosha
- Derivation & Mirrors: @bishabosha, (@dwijnand), @EugeneFlesselle
- Export: @bishabosha, @odersky
- Pattern Matching: @dwijnand, (@liufengyun), @sjrd
- Inline: @nicolasstucki, @odersky, @hamzaremmal
- Metaprogramming (Quotes, Reflect, Staging): @nicolasstucki, @jchyb, @hamzaremmal
- Match types: @sjrd, @dwijnand, @Decel, @Linyxus
- Enums:
- Derivation & Mirrors: (@dwijnand), @EugeneFlesselle
- Export: @odersky
- Pattern Matching: @dwijnand, @sjrd, @noti0na1
- Inline: @odersky, @jchyb, @hamzaremmal, @EugeneFlesselle
- Metaprogramming (Quotes, Reflect, Staging): @jchyb, @hamzaremmal
- Match types: @sjrd, @dwijnand, @Linyxus, @EugeneFlesselle
- GADT: @dwijnand, @Linyxus
- Initialization checker: @olhotak, @liufengyun
- Safe nulls: @noti0na1, @olhotak
- Transforms: @szymon-rd, @sjrd, @odersky, @smarter
- tailrec: @sjrd, @mbovel
- Initialization checker:
- Transforms: @sjrd, @odersky, @smarter
- Tailrec: @sjrd, @mbovel
- JS backend: @sjrd
- JVM backend: @sjrd
- Java-compat: @smarter, @dwijnand
- Capture checker: @odersky, @Linyxus
- JVM backend: @sjrd, @hamzaremmal
- Java-compat: @smarter, @dwijnand, @hamzaremmal
- Extension Methods: @odersky, @dwijnand
- Safe nulls (experimental): @noti0na1
- Capture checker (experimental): @odersky, @Linyxus, @bracevac, @noti0na1
- Modularity (experimental): @KacperFKorban
- Named Tuples (experimental): @odersky, @aherlihy

### Tooling
- REPL: @dwijnand, @prolativ
- REPL: @dwijnand
- Runner/CLI: @Gedochao, (@tgodzik)
- IDE: @tgodzik, (@kasiaMarek)
- Scaladoc: @Florian3k
- SemanticDB: @tanishiking
- Coverage: @TheElectronWill
- Linting (especially unused warnings) / Reporting UX: @szymon-rd
- SemanticDB: @natsukagami, (@tanishiking)
- Coverage: @KacperFKorban
- Linting (especially unused warnings) / Reporting UX: @KacperFKorban
- Presentation Compiler: @rochala, @tgodzik, @kasiaMarek, @natsukagami
- Debug Adapter: @adpi2, (@tgodzik)
- Scastie: @rochala

### Infrastructure
- CI: @hamzaremmal
- CI: @hamzaremmal, (@WojciechMazur)
- Community Build: @hamzaremmal
- Open Community Build: @WojciechMazur
- Vulpix: @dwijnand, @prolativ
- Vulpix: @dwijnand, @prolativ, @hamzaremmal
- Benchmarks: @mbovel
- Releases: @WojciechMazur, @prolativ
1 change: 1 addition & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ val `dist-linux-aarch64` = Build.`dist-linux-aarch64`
val `community-build` = Build.`community-build`
val `sbt-community-build` = Build.`sbt-community-build`
val `scala3-presentation-compiler` = Build.`scala3-presentation-compiler`
val `scala3-presentation-compiler-testcases` = Build.`scala3-presentation-compiler-testcases`

val sjsSandbox = Build.sjsSandbox
val sjsJUnitTests = Build.sjsJUnitTests
Expand Down
Loading
Loading