Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
8826 commits
Select commit Hold shift + click to select a range
cfe430d
Fix #23261: Distinguish 0.0 and -0.0 in ConstantType match types (#23…
sjrd Jul 13, 2025
e7dbb38
chore: pin the set of files for the scala3-only stdlib (non-bootstrap…
hamzaremmal Jul 14, 2025
c19eb7f
chore: pin the set of files for the scala3-only stdlib (bootstrapped)
hamzaremmal Jul 14, 2025
7328cd6
Handle multiple type parameter lists in value class methods (#23516)
smarter Jul 14, 2025
5841870
Revert "Don't emit mixin forwarders as final"
sjrd Nov 5, 2024
d5449ac
Revert "Emit mixin forwarders as bridges"
sjrd Nov 5, 2024
31017b1
Add test case for #19270.
sjrd Nov 5, 2024
ef84d41
Emit Java generic signatures for mixin forwarders.
sjrd Nov 12, 2024
0585508
Mixins were not the only bridges. Bridges must actually not be final.
sjrd Feb 25, 2025
1f057d2
[stdlib] Pin scala3 files before merging the full history (#23517)
hamzaremmal Jul 14, 2025
caced21
chore: use pinned scala3 files instead of the directories
hamzaremmal Jul 14, 2025
9000189
chore: add CODEOWNERS file for stdlib
hamzaremmal Jul 14, 2025
561a663
Support cleanup actions in class completers (#23515)
odersky Jul 14, 2025
699296f
chore: add `CODEOWNERS` file for stdlib (#23519)
hamzaremmal Jul 14, 2025
ee55bde
Guard against invalid prefixes in argForParam (#23508)
odersky Jul 14, 2025
7f27eaf
chore: use pinned scala3 files instead of the directories in the buil…
hamzaremmal Jul 14, 2025
c4e462f
chore: pin `scala3-library` flies for scalajs too
hamzaremmal Jul 14, 2025
bfa02e2
Refinement: Make scheme work also if arguments are duplicated
odersky Jul 14, 2025
ae768dd
Rewrite underscore with optional space
som-snytt Jul 14, 2025
470e012
Fix problems in checking that a constructor is uninhabited for exhaus…
mbovel Jul 14, 2025
49ffe0c
chore: pin `scala3-library` flies for scalajs too (#23523)
hamzaremmal Jul 14, 2025
9396bbe
Check path of module prefix for tailrec (#23491)
som-snytt Jul 14, 2025
a5e15ab
Use result of lambda type of implicit in CheckUnused (#23497)
som-snytt Jul 14, 2025
9e28b14
Don't force annotation unpickling when testing for SilentIntoAnnot (#…
odersky Jul 14, 2025
ea97846
chore: make a few adjustments to merge the scala2 stdlib
hamzaremmal Jul 15, 2025
3b9a505
chore: make a few adjustments to merge the scala2 stdlib (#23527)
hamzaremmal Jul 15, 2025
001eb6d
Enforce -new-syntax under -language:future (#23443)
hamzaremmal Jul 15, 2025
7987a0c
Fix inline export forwarder generation regression (#23126)
hamzaremmal Jul 15, 2025
ef276c6
Disallow erased def
odersky Jun 23, 2025
7668849
Don't treat `erased` as late initialized
odersky Jun 23, 2025
13fd5af
[stdlib] embed the history of the scala 2 stdlib into dotty's history…
hamzaremmal Jul 15, 2025
03a54a7
Rewrite underscore with optional space (#23525)
hamzaremmal Jul 15, 2025
3c30c22
Refinements to skolemizaton (#23513)
odersky Jul 15, 2025
84c7e44
chore: add `transparent` modifier to already assumed transparent type…
hamzaremmal Jul 15, 2025
dce5742
chore: do not compile AnyVal for now
hamzaremmal May 19, 2025
1fcff49
Rename `erasedParams` to `paramErasureStatuses`
odersky Jul 15, 2025
1ed0446
Don't convert erased vals to getters
odersky Jun 20, 2025
4e16a13
Fix handling of compiletime.erasedValue
odersky Jun 24, 2025
74f8e80
Fixes to isPureExpr
odersky Jun 24, 2025
bba720d
Add variants of compiletime.erasedValue
odersky Jun 24, 2025
e189b2c
Require erased values to be pure expressions
odersky Jun 24, 2025
5b74cef
Some fixes to doc page
odersky Jun 24, 2025
7fbdc79
Update SemanticDB and scripting tests
odersky Jun 25, 2025
7f9b4be
Improve handling of compiletime.erasedValue
odersky Jun 27, 2025
9b31664
Update checkfile after rebase fixes
odersky Jun 27, 2025
fe525f3
Desugar using clauses for Singleton context bounds to be erased
odersky Jun 28, 2025
8616b89
Add Erased base trait
odersky Jun 28, 2025
0af89f0
Drop erased class
odersky Jun 29, 2025
4733451
Make erased export forwarders inline methods
odersky Jun 29, 2025
4e7ac05
Cleanups and drop redundant code
odersky Jun 29, 2025
477ae1a
Disable flaky test
odersky Jun 29, 2025
20b7e79
Update doc pages
odersky Jun 30, 2025
a042755
Apply suggestions from code review
odersky Jul 14, 2025
5e1a368
Post suggestion fixes
odersky Jul 14, 2025
f3fe656
Flag lazy erased vals as errors
odersky Jul 14, 2025
7e9c79f
Apply remaining suggestion to fix doc pages
odersky Jul 14, 2025
8591f98
Update spec
odersky Jul 15, 2025
ce7ee0f
Fix rebase breakage and update Build
odersky Jul 15, 2025
9804d64
Final tweaks to docs
odersky Jul 15, 2025
e6bf7b8
Don't use FullyDefinedType when synthesizing ClassTags
odersky Jul 15, 2025
57db77a
chore: do not compile AnyVal for now (#23189)
hamzaremmal Jul 15, 2025
45f7ef6
Constrain by deepening results in more implicit searches
odersky Jul 15, 2025
9f4179a
Don't approximate a type using `Nothing` as prefix
smarter Jul 15, 2025
d242a4b
fix CI issues, add mima filters
jchyb Jul 11, 2025
12f5a57
chore: add `scala.language.2` to files in `scala`
hamzaremmal May 5, 2025
0720c66
chore: add `scala.language.2` to `scala.util`
hamzaremmal May 5, 2025
55b9398
chore: add `scala.language.2` to `scala.sys`
hamzaremmal May 5, 2025
bcfb73f
chore: add `scala.language.2` to `scala.reflect`
hamzaremmal May 5, 2025
1987a5e
chore: add `scala.language.2` to files in `scala.ref`
hamzaremmal May 5, 2025
01b0462
chore: add `scala.language.2` to files in `scala.math`
hamzaremmal May 5, 2025
2c7ad39
chore: add `scala.language.2` to files in `scala.jdk`
hamzaremmal May 5, 2025
5cd585e
chore: add `scala.language.2` to files in `scala.io`
hamzaremmal May 5, 2025
8a578b8
chore: add `scala.language.2` to files in `scala.compat`
hamzaremmal May 5, 2025
b9379ed
chore: add `scala.language.2` to files in `scala.beans`
hamzaremmal May 5, 2025
ade9c02
chore: add `scala.language.2` to files in `scala.annotation`
hamzaremmal May 5, 2025
6d4d290
chore: add `scala.language.2` to files in `scala.concurrent`
hamzaremmal May 5, 2025
8ecd7f9
chore: add `scala.language.2` to files in `scala.runtime`
hamzaremmal May 5, 2025
53e125a
chore: add `scala.language.2` to files in `scala.collection`
hamzaremmal May 5, 2025
b3ca332
chore: rename the import to `scala.language.2.13` in library
hamzaremmal May 5, 2025
48305ac
Bump Scala CLI to v1.8.4 (was v1.8.3)
Gedochao Jul 16, 2025
f5bb1c7
[stdlib] Add `scala.language.2.13` to the scala 2 files (#23537)
hamzaremmal Jul 16, 2025
2e3e048
Bump Scala CLI to v1.8.4 (was v1.8.3) (#23538)
hamzaremmal Jul 16, 2025
4ff0d9f
chore: add `-Yno-stdlib-patches` flag for the stdlib migration
hamzaremmal Jul 16, 2025
7c34cd4
chore: add `-Yno-stdlib-patches` flag for the stdlib migration (#23540)
hamzaremmal Jul 16, 2025
ce98496
Replace erased class modifiers with Erased base traits (#23447)
odersky Jul 16, 2025
028446e
Set reference compiler version to 3.7.2-RC2
WojciechMazur Jul 17, 2025
e4a9f06
Add missing case to TypeComparer
odersky Jul 16, 2025
6b61b01
Update test
odersky Jul 17, 2025
f93c18e
Fix no-patches test
odersky Jul 17, 2025
ce9fdfc
[chore] Set reference compiler version to 3.7.2-RC2 (#23554)
hamzaremmal Jul 17, 2025
fb66af2
Add missing case to TypeComparer (#23550)
noti0na1 Jul 17, 2025
4c3b64f
Make separation checking controlled by language import
odersky Jul 18, 2025
aa13ddf
Experimental bookkeeping chores
odersky Jul 18, 2025
73b935c
Refine implicit search fallbacks for better ClassTag handling (#23532)
odersky Jul 18, 2025
c6785a9
chore: add the `scala-library` project
hamzaremmal Jul 11, 2025
f9921f5
chore: add CI to verify that the non-bootstrapped stdlib compiles
hamzaremmal Jul 16, 2025
12a784c
chore: add `scala-library-bootstrapped`
hamzaremmal Jul 18, 2025
a19c2b0
chore: add CI to verify that the bootstrapped stdlib compiles
hamzaremmal Jul 18, 2025
5899730
chore: add the `scala-library` projects (non-bootstrapped and bootstr…
hamzaremmal Jul 18, 2025
292dc42
chore: add stdlib patches to the actual definitions but `Predef.assert`
hamzaremmal Jul 18, 2025
dd93b12
chore: make metals believe scala-library-bootstrapped is a scala 3 pr…
hamzaremmal Jul 18, 2025
42fdd76
chore: make metals believe scala-library-bootstrapped is a scala 3 pr…
hamzaremmal Jul 18, 2025
28bb69c
Flatten nested capture sets in retainedElementsRaw
odersky Jul 19, 2025
5a440b4
Unrelated test
odersky Jul 19, 2025
08e50eb
chore: add `Predef.assert` from stdlib patches
hamzaremmal Jul 18, 2025
e05e3a3
Flatten nested capture sets in retainedElementsRaw (#23571)
odersky Jul 21, 2025
a5c26cd
Make separation checking controlled by language import (#23560)
odersky Jul 21, 2025
af36d6e
Drop isOfNestedMethod exception in normal mode
odersky Jul 20, 2025
2c44028
Rely on hidden sets for use checking
odersky Jul 21, 2025
3770ee8
Improve use of boolean defaults (#23564)
som-snytt Jul 21, 2025
7b42ed8
Encode path of class
som-snytt Jun 26, 2025
e7db08a
Best effort failure excluded
som-snytt Jul 11, 2025
48e173a
Consider setter of effectively private var (#23211)
som-snytt Jul 21, 2025
b48d62b
Rely on hidden sets for use checking (#23580)
odersky Jul 21, 2025
6c77b46
Simplification: Generate annotations for .rd and * directly
odersky Jul 6, 2025
d6a9d44
Rename SharedCapability to Sharable and add Control capability class
odersky Jul 7, 2025
ae49d34
Introduce only-capabilities
odersky Jul 7, 2025
c960a66
Add showRef utility method
odersky Jul 7, 2025
46ce281
Introduce capability classifiers
odersky Jul 11, 2025
b6a26bf
Implement subsumption rules for restricted capabilities
odersky Jul 11, 2025
ef5fa64
Update MimaFilters
odersky Jul 12, 2025
6cbab68
Extend test
odersky Jul 12, 2025
df72093
Remove empty capabilities for separation checking
odersky Jul 14, 2025
6eedf77
Mention classification when explaining FreshCaps in error messages
odersky Jul 17, 2025
6acb633
Fix rebase breakage
odersky Jul 17, 2025
2826589
Fix typo
odersky Jul 21, 2025
0d7a2b5
Add missing case in maxSubsumes
odersky Jul 21, 2025
54a1df7
Fix joinClassifiers
odersky Jul 21, 2025
11e901f
Shorten imports
odersky Jul 21, 2025
68a6d5b
Don't approximate a type using `Nothing` as prefix (#23531)
odersky Jul 21, 2025
8b66711
Add advanced test case for classifier capabilities
bracevac Jul 21, 2025
ea6b0a4
Add restricted capabilities `x.only[C]` (#23485)
odersky Jul 22, 2025
98c594f
Compare span points in pathTo to determine best span (#23581)
Florian3k Jul 22, 2025
12b9217
Check OrType in interpolated toString lint
som-snytt Jun 13, 2025
2887c0a
Make check look intentional per review
som-snytt Jul 22, 2025
b6c232d
Encode path of class (#23503)
jchyb Jul 23, 2025
570e840
Add missing definitions in the stdlib (from `stdLibPatches`) (#23562)
hamzaremmal Jul 23, 2025
ca3ac85
chore: add `scala.language.experimental.separationChecking` to the no…
hamzaremmal Jul 23, 2025
abc8192
Suppress warnings in comprehensions with 22+ binds
bracevac Jul 23, 2025
14b7f03
chore: add `scala.language.experimental.separationChecking` to the no…
hamzaremmal Jul 23, 2025
61de57d
chore: make incremental compilation work with stdlib plugin and enabl…
hamzaremmal Jul 23, 2025
dcbb54c
chore: ensure stdlib always produces Java 17 >= artifacts
hamzaremmal Jul 23, 2025
a8d1c9d
Update project/Build.scala
hamzaremmal Jul 23, 2025
bbc089e
chore: ensure stdlib always produces Java 17 >= artifacts (#23593)
hamzaremmal Jul 24, 2025
16a6ff0
chore: make incremental compilation work with stdlib plugin and enabl…
hamzaremmal Jul 24, 2025
cc29658
chore: add new `scala3-library` projects
hamzaremmal Jul 24, 2025
b1c45cc
chore: add new `scala3-library` projects (#23594)
hamzaremmal Jul 24, 2025
3dfceda
chore: extract DottyJSPlugin from Build
hamzaremmal Jul 24, 2025
405e2bd
Add InferredMethodProvider for automatic method signature generation …
zielinsky Jul 24, 2025
00d19df
bugfix: Also save infos in semanticdb (#23587)
tgodzik Jul 25, 2025
fe6cfc6
Sort the typeMembers output list and filter out non-members
jchyb Mar 26, 2025
36f7810
Change expected ordering of typeMembers in an older testcase
jchyb Mar 31, 2025
3f2b12f
chore: extract DottyJSPlugin from Build (#23597)
hamzaremmal Jul 25, 2025
1347174
chore: add `tasty-core-nonbootstrapped`
hamzaremmal Jul 25, 2025
ea0ec35
chore: add `scala3-compiler-nonbootstrapped`
hamzaremmal Jul 25, 2025
6146b90
chore: add `tasty-core-nonbootstrapped` in the new build (#23599)
hamzaremmal Jul 25, 2025
e2d23ed
chore: add `scala3-compiler-nonbootstrapped` to the new build (#23600)
hamzaremmal Jul 25, 2025
ce2a276
chore: allow publishing and do not package the doc for non-bootstrapped
hamzaremmal Jul 26, 2025
7d65adf
chore: add non-bootstrapped core project
hamzaremmal Jul 26, 2025
6199891
chore: add `scala3-sbt-bridge-nonbootstrapped` to the new build
hamzaremmal Jul 26, 2025
1148afe
Add all remaining non-bootstrapped projects (#23605)
hamzaremmal Jul 26, 2025
4bcb5ff
Add `nullTrackable` annotation to force tracking mutale fields
noti0na1 Jul 15, 2025
5a4f04f
Fix stdlib compiling
noti0na1 Jul 16, 2025
ec8e000
Rename annotation to `StableNull` and update test
noti0na1 Jul 16, 2025
62f3763
Remove commented debug print
noti0na1 Jul 16, 2025
41b9b5a
Fix documentation typo and update MiMaFilters
noti0na1 Jul 20, 2025
269ef39
Fix MiMa
noti0na1 Jul 23, 2025
61cb228
chore: add resource folder for `scala-sbt-bridge-nonbootstrapped`
hamzaremmal Jul 26, 2025
9c788c9
chore: make `scala3-library-bootstrapped-new` actually compile with t…
hamzaremmal Jul 27, 2025
e298fdc
chore: add `tasty-core-bootstrapped` to the new build
hamzaremmal Jul 27, 2025
54a983a
chore: add `scala3-compiler-bootstrapped` to the new build
hamzaremmal Jul 27, 2025
9cfa227
chore: add `scala3-sbt-bridge-bootstrapped` to the new build
hamzaremmal Jul 27, 2025
6deaf0d
chore: add `scala3-bootstrapped` root in the new build
hamzaremmal Jul 27, 2025
14b227b
chore: allow publishing the bootstrapped stdlib
hamzaremmal Jul 27, 2025
d0f3b9f
chore: do not generate scaladoc for bootstrapped stdlib yet
hamzaremmal Jul 27, 2025
47a452d
chore: add the base projects as `bootstrapped` in the new build (#23608)
hamzaremmal Jul 27, 2025
9f20aa5
Emit mixin forwarders as ordinary, non-bridge methods again (#21890)
hamzaremmal Jul 27, 2025
95b37a7
Add `stableNull` annotation to force tracking mutable fields (#23528)
noti0na1 Jul 28, 2025
5453403
Revert "Emit mixin forwarders as ordinary, non-bridge methods again"
hamzaremmal Jul 28, 2025
59e0717
Suppress warnings in comprehensions with 22+ binds (#23590)
bracevac Jul 28, 2025
4b543e8
Revert "Emit mixin forwarders as ordinary, non-bridge methods again" …
hamzaremmal Jul 28, 2025
dca8e95
chore: add `::.next$access$1` to the source code
hamzaremmal Jul 28, 2025
d09c5c1
chore: add tests for `scala3-sbt-bridge` (non-bootstrapped and `boots…
hamzaremmal Jul 28, 2025
287f746
chore: add tests for `tasty-core` (non-bootstrapped and `bootstrapped`)
hamzaremmal Jul 28, 2025
74f78a1
Fix completions for Quotes (#23619)
rochala Jul 29, 2025
55732ab
Fix issue with certain polyfunctions not properly matching in macros
jchyb Jul 28, 2025
048ce6b
chore: add the testing suite for `scala3-sbt-bridge` and `tasty-core`…
hamzaremmal Jul 29, 2025
86c1592
chore: add configuration for `scala3-staging`
hamzaremmal Jul 29, 2025
79fdbff
chore: add configuration for `scala3-tasty-inspector`
hamzaremmal Jul 29, 2025
e936805
Add regression test for #23616 (#23623)
WojciechMazur Jul 29, 2025
ceeac54
chore: add `scala3-staging` and `scala3-tasty-inspector` to the new b…
hamzaremmal Jul 29, 2025
ad95e58
Fix issue with certain polyfunctions not properly matching in macros …
hamzaremmal Jul 29, 2025
b872039
Quotes reflect: sort the typeMembers output list and filter out non-m…
hamzaremmal Jul 29, 2025
482959b
Don't module class for unhabitated fields (#23634)
Alex1005a Aug 1, 2025
bd869f1
Emit an error for quoted pattern type variable after `new`
mbovel Jul 28, 2025
85fda46
Add quoted pattern type variable expected type test
mbovel Jul 28, 2025
02886ac
Add workaround for #22616
mbovel Jul 28, 2025
a3b9238
Skip bypassing unapply for scala 2 case classes to allow for single-e…
aherlihy Jul 25, 2025
4affff6
more precise check
aherlihy Jul 25, 2025
2ac1dca
Make check more precise for single named tuple selector in pattern match
aherlihy Jul 29, 2025
5b1dccf
minimize diff
aherlihy Jul 29, 2025
0fa203f
Refactor out getOfGetMatch
aherlihy Jul 30, 2025
e53f861
Add setting for specifying magic line number comment
Linyxus Jul 16, 2025
cff7122
Offset line numbers when reporting given a magic comment
Linyxus Jul 16, 2025
fc0593c
Add testcases
Linyxus Jul 16, 2025
eaebc99
Move magic header setting to -Y and add path setting
Linyxus Jul 25, 2025
c945ae8
Cleanup
Linyxus Jul 31, 2025
21d347a
Reposition span to original file for wrapper scripts
Linyxus Jul 31, 2025
1258fc1
Adapt test cases
Linyxus Jul 31, 2025
31bf8c3
Only shift spans in user code
Linyxus Jul 31, 2025
10f0941
Add test on missing original file
Linyxus Jul 31, 2025
254874d
Handle default arguments in named parameters for inlay hints (#23641)
zielinsky Aug 1, 2025
208b007
Backport "Fix #23576" to 3.7.3 (#23643)
WojciechMazur Aug 1, 2025
d8f2102
Backport "Emit an error for quoted pattern type variable after `new`"…
WojciechMazur Aug 1, 2025
952b866
Backport "Skip bypassing unapply for scala 2 case classes to allow fo…
WojciechMazur Aug 1, 2025
f901907
Backport "Add line number magic comment support" to 3.7.3 (#23646)
WojciechMazur Aug 1, 2025
25f35fa
Backport "Handle default arguments in named parameters for inlay hint…
WojciechMazur Aug 1, 2025
ac9c744
Add release notes for 3.7.3-RC1
WojciechMazur Aug 4, 2025
afc19b9
Release Scala 3.7.3-RC1
WojciechMazur Aug 4, 2025
144dbe6
Backport "Generalize "Don't approximate a type using Nothing as prefi…
smarter Aug 7, 2025
946ad71
Bump Scala CLI to v1.8.5 (was v1.8.4)
Gedochao Aug 10, 2025
61d0073
More careful ClassTag instantiation
odersky Aug 4, 2025
c31e1b7
Refine criterion when to use fullyDefinedType in ClassTag search
odersky Aug 6, 2025
4dd0691
Use more context for implicit search only if no default argument
odersky Aug 5, 2025
6e675e0
More careful ClassTag instantiation (#23659)
odersky Aug 6, 2025
502eb0b
Add suppression if nowarn differs (#23652)
som-snytt Aug 6, 2025
221d9db
fix: Fix extracting refinements from intersection types in dynamic se…
KacperFKorban Aug 6, 2025
2573ecf
Check for mismatched argument type length in PatternMatcher due to Na…
aherlihy Jul 25, 2025
b74b91e
Warn if implicit default shadows given
som-snytt Jul 17, 2025
ad52b54
Use explicit args in recursion
som-snytt Jul 23, 2025
8749bba
Name the parameter using a default
som-snytt Jul 23, 2025
06dbc8a
Backport "Bump Scala CLI to v1.8.5 (was v1.8.4)" to 3.7.3 (#23712)
WojciechMazur Aug 12, 2025
172cecb
Backport "Use more context for implicit search only if no default arg…
WojciechMazur Aug 12, 2025
d2d159e
Backport "More careful ClassTag instantiation" to 3.7.3 (#23714)
WojciechMazur Aug 12, 2025
9c2bf3c
Backport "Add suppression if nowarn differs" to 3.7.3 (#23715)
WojciechMazur Aug 12, 2025
0fec16d
Backport "fix: Fix extracting refinements from intersection types in …
WojciechMazur Aug 12, 2025
2d87b0d
Backport "Check for mismatched argument type length in PatternMatcher…
WojciechMazur Aug 12, 2025
5660842
Backport "Warn if implicit default shadows given" to 3.7.3 (#23718)
WojciechMazur Aug 12, 2025
186b6d8
Fix issue with pc breaking in requiredMethod on newly overloaded valu…
jchyb Aug 12, 2025
045d362
Fix match type bounds checking problem
odersky Aug 8, 2025
40b0027
Backport "Fix issue with pc breaking in requiredMethod on newly overl…
WojciechMazur Aug 13, 2025
fef875d
Backport "Fix match type bounds checking problem" to 3.7.3 (#23725)
WojciechMazur Aug 13, 2025
fb1921f
Add changelog for 3.7.3-RC2
WojciechMazur Aug 13, 2025
bb8910a
Release 3.7.3-RC2
WojciechMazur Aug 13, 2025
15f010a
Backport "[chore] Update scala-cli to 1.9.0 (was 1.8.5)" to 3.7.3 (#2…
WojciechMazur Sep 3, 2025
9663e31
Add release notes for 3.7.3-RC3
WojciechMazur Sep 3, 2025
350126f
Release Scala 3.7.3-RC3
WojciechMazur Sep 3, 2025
f8a1d03
Add changelog for 3.7.3
WojciechMazur Sep 8, 2025
eb198cf
Release 3.7.3
WojciechMazur Sep 8, 2025
57ab38c
Merge branch 'release-3.7.3' into language-reference-stable
WojciechMazur Sep 12, 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
  •  
  •  
  •  
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
2 changes: 1 addition & 1 deletion .github/workflows/lts-backport.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
with:
fetch-depth: 0
- uses: coursier/cache-action@v6
- uses: VirtusLab/scala-cli-setup@v1.8.4
- uses: VirtusLab/scala-cli-setup@v1.9.0
- run: scala-cli ./project/scripts/addToBackportingProject.scala -- ${{ github.sha }}
env:
GRAPHQL_API_TOKEN: ${{ secrets.GRAPHQL_API_TOKEN }}
Expand Down
292 changes: 292 additions & 0 deletions .github/workflows/stdlib.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,292 @@
name: Compile Full Standard Library

on:
push:
branches:
- 'main'
pull_request:

permissions:
contents: read

jobs:
scala-library-nonbootstrapped:
runs-on: ubuntu-latest
steps:
- name: Git Checkout
uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
cache: 'sbt'

- uses: sbt/setup-sbt@v1
- name: Compile `scala-library-nonbootstrapped`
run: ./project/scripts/sbt scala-library-nonbootstrapped/compile

scala3-library-nonbootstrapped:
runs-on: ubuntu-latest
##needs: [scala-library-nonbootstrapped] Add when we add support for caching here
steps:
- name: Git Checkout
uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
cache: 'sbt'

- uses: sbt/setup-sbt@v1
- name: Compile `scala3-library-nonbootstrapped`
run: ./project/scripts/sbt scala3-library-nonbootstrapped/compile

scala-library-bootstrapped:
runs-on: ubuntu-latest
needs : [scala3-compiler-nonbootstrapped, scala3-sbt-bridge-nonbootstrapped, scala-library-nonbootstrapped, scala3-library-nonbootstrapped]
steps:
- name: Git Checkout
uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
cache: 'sbt'

- uses: sbt/setup-sbt@v1
- name: Compile `scala-library-bootstrapped`
run: ./project/scripts/sbt scala-library-bootstrapped/compile

scala3-library-bootstrapped:
runs-on: ubuntu-latest
##needs: [scala-library-bootstrapped] Add when we add support for caching here
steps:
- name: Git Checkout
uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
cache: 'sbt'

- uses: sbt/setup-sbt@v1
- name: Compile `scala3-library-bootstrapped`
run: ./project/scripts/sbt scala3-library-bootstrapped-new/compile

tasty-core-nonbootstrapped:
runs-on: ubuntu-latest
##needs: [scala3-library-nonbootstrapped] Add when we add support for caching here
steps:
- name: Git Checkout
uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
cache: 'sbt'
- uses: sbt/setup-sbt@v1
- name: Compile `tasty-core-nonbootstrapped`
run: ./project/scripts/sbt tasty-core-nonbootstrapped/compile

scala3-compiler-nonbootstrapped:
runs-on: ubuntu-latest
##needs: [tasty-core-nonbootstrapped, scala3-library-nonbootstrapped] Add when we add support for caching here
steps:
- name: Git Checkout
uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
cache: 'sbt'
- uses: sbt/setup-sbt@v1
- name: Compile `scala3-compiler-nonbootstrapped`
run: ./project/scripts/sbt scala3-compiler-nonbootstrapped/compile

scala3-sbt-bridge-nonbootstrapped:
runs-on: ubuntu-latest
##needs: [scala3-compiler-nonbootstrapped] Add when we add support for caching here
steps:
- name: Git Checkout
uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
cache: 'sbt'
- uses: sbt/setup-sbt@v1
- name: Compile `scala3-sbt-bridge-nonbootstrapped`
run: ./project/scripts/sbt scala3-sbt-bridge-nonbootstrapped/compile

tasty-core-bootstrapped:
runs-on: ubuntu-latest
##needs: [scala3-library-bootstrapped] Add when we add support for caching here
steps:
- name: Git Checkout
uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
cache: 'sbt'
- uses: sbt/setup-sbt@v1
- name: Compile `tasty-core-bootstrapped`
run: ./project/scripts/sbt tasty-core-bootstrapped-new/compile

scala3-compiler-bootstrapped:
runs-on: ubuntu-latest
##needs: [tasty-core-bootstrapped, scala3-library-bootstrapped] Add when we add support for caching here
steps:
- name: Git Checkout
uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
cache: 'sbt'
- uses: sbt/setup-sbt@v1
- name: Compile `scala3-compiler-bootstrapped`
run: ./project/scripts/sbt scala3-compiler-bootstrapped-new/compile

scala3-sbt-bridge-bootstrapped:
runs-on: ubuntu-latest
##needs: [scala3-compiler-bootstrapped] Add when we add support for caching here
steps:
- name: Git Checkout
uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
cache: 'sbt'
- uses: sbt/setup-sbt@v1
- name: Compile `scala3-sbt-bridge-bootstrapped`
run: ./project/scripts/sbt scala3-sbt-bridge-bootstrapped/compile

scala3-staging:
runs-on: ubuntu-latest
##needs: [scala3-compiler-bootstrapped] Add when we add support for caching here
steps:
- name: Git Checkout
uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
cache: 'sbt'
- uses: sbt/setup-sbt@v1
- name: Compile `scala3-staging`
run: ./project/scripts/sbt scala3-staging-new/compile

scala3-tasty-inspector:
runs-on: ubuntu-latest
##needs: [scala3-compiler-bootstrapped] Add when we add support for caching here
steps:
- name: Git Checkout
uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
cache: 'sbt'
- uses: sbt/setup-sbt@v1
- name: Compile `scala3-staging`
run: ./project/scripts/sbt scala3-staging-new/compile
- name: Compile `scala3-tasty-inspector`
run: ./project/scripts/sbt scala3-tasty-inspector-new/compile

#################################################################################################
########################################### TEST JOBS ###########################################
#################################################################################################

test-scala3-sbt-bridge-nonbootstrapped:
runs-on: ubuntu-latest
##needs: [scala3-sbt-bridge-nonbootstrapped] Add when we add support for caching here
steps:
- name: Git Checkout
uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
cache: 'sbt'
- uses: sbt/setup-sbt@v1
- name: Test `scala3-sbt-bridge-nonbootstrapped`
run: ./project/scripts/sbt scala3-sbt-bridge-nonbootstrapped/test

test-scala3-sbt-bridge-bootstrapped:
runs-on: ubuntu-latest
##needs: [scala3-sbt-bridge-bootstrapped] Add when we add support for caching here
steps:
- name: Git Checkout
uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
cache: 'sbt'
- uses: sbt/setup-sbt@v1
- name: Test `scala3-sbt-bridge-bootstrapped`
run: ./project/scripts/sbt scala3-sbt-bridge-bootstrapped/test

test-tasty-core-nonbootstrapped:
runs-on: ubuntu-latest
##needs: [tasty-core-nonbootstrapped] Add when we add support for caching here
steps:
- name: Git Checkout
uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
cache: 'sbt'
- uses: sbt/setup-sbt@v1
- name: Test `tasty-core-nonbootstrapped`
run: ./project/scripts/sbt tasty-core-nonbootstrapped/test

test-tasty-core-bootstrapped:
runs-on: ubuntu-latest
##needs: [tasty-core-bootstrapped] Add when we add support for caching here
steps:
- name: Git Checkout
uses: actions/checkout@v4

- name: Set up JDK 17
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 17
cache: 'sbt'
- uses: sbt/setup-sbt@v1
- name: Test `tasty-core-bootstrapped`
run: ./project/scripts/sbt tasty-core-bootstrapped-new/test
14 changes: 14 additions & 0 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,15 +1,27 @@
val scala3 = Build.scala3
val `scala3-nonbootstrapped` = Build.`scala3-nonbootstrapped`
val `scala3-bootstrapped` = Build.`scala3-bootstrapped`
val `scala3-bootstrapped-new` = Build.`scala3-bootstrapped-new`
val `scala3-interfaces` = Build.`scala3-interfaces`
val `scala3-compiler` = Build.`scala3-compiler`
val `scala3-compiler-nonbootstrapped` = Build.`scala3-compiler-nonbootstrapped`
val `scala3-compiler-bootstrapped-new` = Build.`scala3-compiler-bootstrapped-new`
val `scala3-compiler-bootstrapped` = Build.`scala3-compiler-bootstrapped`
val `scala-library-nonbootstrapped` = Build.`scala-library-nonbootstrapped`
val `scala3-library-nonbootstrapped` = Build.`scala3-library-nonbootstrapped`
val `scala-library-bootstrapped` = Build.`scala-library-bootstrapped`
val `scala3-library-bootstrapped-new` = Build.`scala3-library-bootstrapped-new`
val `scala3-library` = Build.`scala3-library`
val `scala3-library-bootstrapped` = Build.`scala3-library-bootstrapped`
val `scala3-library-bootstrappedJS` = Build.`scala3-library-bootstrappedJS`
val `scala3-sbt-bridge` = Build.`scala3-sbt-bridge`
val `scala3-sbt-bridge-bootstrapped` = Build.`scala3-sbt-bridge-bootstrapped`
val `scala3-sbt-bridge-nonbootstrapped` = Build.`scala3-sbt-bridge-nonbootstrapped`
val `scala3-sbt-bridge-tests` = Build.`scala3-sbt-bridge-tests`
val `scala3-staging` = Build.`scala3-staging`
val `scala3-staging-new` = Build.`scala3-staging-new`
val `scala3-tasty-inspector` = Build.`scala3-tasty-inspector`
val `scala3-tasty-inspector-new` = Build.`scala3-tasty-inspector-new`
val `scala3-language-server` = Build.`scala3-language-server`
val `scala3-bench` = Build.`scala3-bench`
val `scala3-bench-bootstrapped` = Build.`scala3-bench-bootstrapped`
Expand All @@ -19,6 +31,8 @@ val `scala2-library-tasty` = Build.`scala2-library-tasty`
val `scala2-library-cc` = Build.`scala2-library-cc`
val `scala2-library-cc-tasty` = Build.`scala2-library-cc-tasty`
val `tasty-core` = Build.`tasty-core`
val `tasty-core-nonbootstrapped` = Build.`tasty-core-nonbootstrapped`
val `tasty-core-bootstrapped-new` = Build.`tasty-core-bootstrapped-new`
val `tasty-core-bootstrapped` = Build.`tasty-core-bootstrapped`
val `tasty-core-scala2` = Build.`tasty-core-scala2`
val scaladoc = Build.scaladoc
Expand Down
Loading
Loading