Skip to content

[chore]: Synchronize language-reference-stable with release 3.7.0 #23117

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 529 commits into from
May 7, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
529 commits
Select commit Hold shift + click to select a range
da6c61c
Implement `summonIgnoring` (#22417)
jchyb Feb 18, 2025
183b254
Standardize how previously experimental features are handled
odersky Oct 1, 2024
8b00b61
Update intent CB project to drop fewerBraces setting
odersky Oct 2, 2024
a03a2fc
Address review comments
odersky Feb 18, 2025
417d542
fix: record calls to constructors in lambdaLift (#22487)
odersky Feb 18, 2025
4ba89e9
Allow observing an indent after conditional
som-snytt Feb 15, 2025
c8131c0
Prefer chaining, avoid duplication in finally
som-snytt Feb 16, 2025
528d0f0
Make overload pruning based on result types less aggressive
smarter Oct 8, 2024
a19c14a
Clarify region workaround
som-snytt Feb 18, 2025
f7259cf
Make `Applications#resolveMapped` preserve annotations
smarter Oct 10, 2024
32ac2e6
Avoid even more false negatives in overload pruning
smarter Oct 12, 2024
37e7e2a
Fix crash by using special resolveEnv function for local read and write
q-ata Feb 19, 2025
0dac4c3
Standardize how previously experimental features are handled (#21686)
hamzaremmal Feb 19, 2025
a630e9e
Add debug help to find out what's compiling (#22522)
hamzaremmal Feb 19, 2025
6bf8eae
Allow observing an indent after conditional (#22611)
odersky Feb 19, 2025
99b1060
feat: show expected type for hole
kasiaMarek Aug 23, 2024
3397a75
[CI]: Publish LTS nightlies form scala/scala3-lts repository (#22500)
WojciechMazur Feb 19, 2025
5929c87
feat: show inferred type on holes in hover [skip ci] (#21423)
tgodzik Feb 19, 2025
18bd314
Fix fragile transformation of fromProduct when using `@unroll`
smarter Feb 18, 2025
246793a
Fix Ycheck false-positive in the compiler after previous commit
smarter Feb 19, 2025
345b2da
Minimal support for dependent case classes (#21698)
smarter Feb 19, 2025
eea481f
Constructor companion gets privateWithin
som-snytt Feb 20, 2025
3ae11ab
Fix issue with static `this` references erroring in quoted code (#22618)
hamzaremmal Feb 20, 2025
4493a66
Bump VirtusLab/scala-cli-setup from 1.6.1 to 1.6.2 (#22617)
hamzaremmal Feb 20, 2025
4952e0a
chore: Add @nowarn annotation to LazyVals. (#22270)
He-Pin Feb 20, 2025
afb4806
Discourage default arg for extension receiver (#22492)
som-snytt Feb 20, 2025
c533443
Print parens for single method argument only if a direct tuple type (…
tgodzik Feb 21, 2025
72bff19
Revert dubious retry in vulpix
som-snytt Oct 17, 2024
699e0cb
Remove locale dependent FileSystemException check (#21633)
hamzaremmal Feb 21, 2025
83775c7
Bump dev-hanz-ops/install-gh-cli-action from 0.2.0 to 0.2.1 (#22411)
hamzaremmal Feb 21, 2025
750da51
Bump burnett01/rsync-deployments from 7.0.1 to 7.0.2 (#22410)
hamzaremmal Feb 21, 2025
680ea03
change wildcard type parameter from _ to ?
unkarjedy Apr 3, 2024
b9cecd2
Revert dubious retry in vulpix (#21801)
hamzaremmal Feb 21, 2025
4d48bce
Merge stale changes from language reference stable (#22635)
WojciechMazur Feb 21, 2025
d4421d0
Under `betterFors` don't drop the trailing `map` if it would result i…
KacperFKorban Feb 21, 2025
529f76f
fix: publicInBinary has effect on secondary constructors
hamzaremmal Feb 20, 2025
595c5d7
Add a check for correct Array shape in quotes.reflect.ClassOfConstant…
hamzaremmal Feb 21, 2025
28fa050
Constructor companion gets privateWithin (#22627)
odersky Feb 21, 2025
93ffd23
`@publicInBinary` has effect on secondary constructors (#22630)
hamzaremmal Feb 21, 2025
0d21a16
chore: avoid double configuration in scala2-library projects
hamzaremmal Feb 21, 2025
fb66f34
Expand value references to packages to their underlying package objec…
odersky Feb 21, 2025
9e29862
chore: stabilise `@publicInBinary`
hamzaremmal Feb 12, 2025
68b4914
Avoid double configuration in scala2-library projects (#22637)
hamzaremmal Feb 21, 2025
f24b5d1
replaced previous commits with a cp filter in Jar.scala
philwalk Feb 21, 2025
01fc715
chore: Apply suggestions from code review
hamzaremmal Feb 21, 2025
2bd5a47
chore: drop experimental mode in SIP-52 tests
hamzaremmal Feb 21, 2025
1279286
Fix for #22461 Empty ClassPath attribute in one or more classpath jar…
hamzaremmal Feb 21, 2025
4dc4668
Stabilise `@publicInBinary` (#22591)
hamzaremmal Feb 22, 2025
aa284a9
chore: import scala.Enumeration and scala.io.Source from Scala 2.13.16
hamzaremmal Feb 24, 2025
015f73f
chore: fix mandatory binary incompatibilities between Scala 2 and Sca…
hamzaremmal Feb 24, 2025
a6e4102
chore: categorise remaining MiMa filters
hamzaremmal Feb 24, 2025
5971674
Add `@scala.annotation.internal.preview` annotation and `-preview` fl…
WojciechMazur Feb 24, 2025
9450855
Take care of all the missing outer pointer in Scala 2 library (#22640)
hamzaremmal Feb 24, 2025
7d79c56
Warn universal extensions on opaque types (#22502)
rochala Feb 24, 2025
f28b9c1
Move reachability skip to reachabilityCheckable
dwijnand Feb 24, 2025
93af7b8
Make overload pruning based on result types less aggressive (#21744)
smarter Feb 24, 2025
b5a3151
Fix stale symbol crash on classes with package owner
jchyb Feb 24, 2025
b458160
chore: drop betterMatchTypeExtractors from Feature
hamzaremmal Feb 24, 2025
0373617
Account for named tuples in space subtraction
bracevac Feb 24, 2025
1a9ba3a
Add REPL flag to quit after evaluating init script
noti0na1 Feb 24, 2025
0c9111c
Restore unsafe-warn-patvars
som-snytt Feb 3, 2025
7ad8418
Check span.exists where necessary
som-snytt Feb 3, 2025
5429dfa
Check only stable qual for import prefix
som-snytt Feb 20, 2025
b2b0115
Account for named tuples in space subtraction (#22658)
bracevac Feb 25, 2025
7995e9b
Check only stable qual for import prefix (#22633)
sjrd Feb 25, 2025
ec610bd
chore: check name when renaming
kasiaMarek Feb 25, 2025
666f393
test: add type params selection range test
kasiaMarek Feb 25, 2025
eb36e43
chore: Add plugin to copy stdlib files from Scala 2
hamzaremmal Jan 29, 2025
c8f6c4a
chore: Update the MiMa filters for Scala 2
hamzaremmal Feb 25, 2025
a25fe5e
Backport from Metals (#22665)
kasiaMarek Feb 25, 2025
4649d5e
Rename :require to :jar and deprecate :require
aherlihy Feb 26, 2025
28c877f
Remove repl bin; rename flag
noti0na1 Feb 26, 2025
e8b1d1e
Fix arguments
noti0na1 Feb 26, 2025
399d008
Update compiler-plugins.md (#21796)
hamzaremmal Feb 26, 2025
53b2786
fix: don't search for members in pc info when irrelevant
kasiaMarek Feb 27, 2025
7c4a701
Rename setting name
noti0na1 Feb 27, 2025
abaae76
Root of Java select must be class or rooted package (#21800)
noti0na1 Feb 27, 2025
1b0be01
fix: don't search for members in pc info when irrelevant (#22674)
tgodzik Feb 27, 2025
b52b057
Handle Typeable
som-snytt Feb 24, 2025
7c76ded
completions: do not complete package
dos65 Jun 7, 2024
064c3df
JLine 3.29.0 (was 3.27.1)
SethTisue Feb 28, 2025
fe0ec85
sbt 1.10.7 (was 1.10.5)
SethTisue Feb 28, 2025
cc67811
sbt 1.10.7 (was 1.10.5) (#22680)
hamzaremmal Feb 28, 2025
ee62b32
Regression test for extension nullification, nowarn for different opa…
som-snytt Feb 28, 2025
fbd34ec
Update compiler/test/dotty/tools/scripting/BashExitCodeTests.scala
noti0na1 Feb 28, 2025
ed2f0ad
completions: do not complete package (#20532)
tgodzik Feb 28, 2025
fc61936
Fix #21242: Add REPL flag to quit after evaluating init script (#22636)
noti0na1 Feb 28, 2025
e592b37
Handle Typeable (#22663)
noti0na1 Feb 28, 2025
62e3af5
Add enum type param support in sourceSymbol
rochala Sep 27, 2023
0d6164b
fix: do not run repl test on windows
hamzaremmal Mar 2, 2025
6feb022
fix: do not run repl test on windows (#22693)
hamzaremmal Mar 2, 2025
f3c4751
Adjust some documentation and add assertion
q-ata Mar 3, 2025
9181b55
Repl: emit warning for the `:sh` command
bracevac Mar 2, 2025
b76c6d1
Fix escaping quotes
noti0na1 Mar 3, 2025
28c1ae3
Revert lambda cleanup (but keep remaining changes)
dwijnand Mar 3, 2025
094e4fb
Repl: emit warning for the `:sh` command (#22694)
bracevac Mar 3, 2025
09f13d5
Fix opaque type implementations being exposed when in type params
jchyb Feb 24, 2025
23911df
Add a comment explaining the stale symbol fix
jchyb Mar 3, 2025
02c67bc
Try simple argument
noti0na1 Mar 3, 2025
fb1fe22
Exclude synthetic this.m, Any.m from import lookup
som-snytt Mar 3, 2025
ab1bf38
Check exhaustivity of any case class (#22604)
dwijnand Mar 3, 2025
788016a
Bring back pattern match exhaustivity checking for macros (#22622)
jchyb Mar 3, 2025
91985db
Try to fix escaping quotes for REPL test (#22696)
hamzaremmal Mar 3, 2025
e808881
Add error-checking when fetching rhs of ValOrDefDefs.
lidaisy Feb 9, 2025
63a02dd
Exclude synthetic this.m, Any.m from import lookup (#22695)
sjrd Mar 4, 2025
86b59aa
Fix opaque types leaking rhs when inlined and found in type params (a…
dwijnand Mar 4, 2025
46aef87
Update compiler/src/dotty/tools/repl/ReplDriver.scala
aherlihy Mar 4, 2025
7b142b8
re-add tests
aherlihy Mar 4, 2025
a97974c
Fix #21721: make case TypeBlock(_, _) not match non-type Block (#21722)
jchyb Mar 4, 2025
8601228
Revert lambda cleanup (#22697)
smarter Mar 4, 2025
2685750
Try not to approximate prefixes when using memberType in reflect API …
jchyb Mar 4, 2025
df6958b
Fix global init checking crash when using a value defined in by-name …
olhotak Mar 4, 2025
bef520f
Activate Develocity's Build Cache (#22523)
adpi2 Mar 4, 2025
71044a8
Make sure TypeBlocks are not incorrectly matched against Blocks
jchyb Mar 5, 2025
4a85e27
Add error-checking when fetching rhs of trees from TASTy (#22565)
olhotak Mar 5, 2025
332fceb
Make sure Block does not incorrectly match a TypeBlock (#22716)
hamzaremmal Mar 5, 2025
637a5f6
Refactor pattern matching, skipping cases when safe to do so
Nov 22, 2024
7db959e
Add BaseOrUnknownValue
Dec 14, 2024
44ed0b3
Refactor abstract domain; combining Cold and Unknown Value; adding Pa…
Dec 30, 2024
bf18e95
Add option to ignore using unknown value warning
Jan 12, 2025
f51f91b
Rename BaseValue to SafeValue
Jan 18, 2025
fdcb455
Adding semantics for calling on SafeValue and evaluating SeqLiteral
Feb 5, 2025
7ee0726
Modify test
Feb 12, 2025
6b5d6a4
Address comments; add TopWidenedValue
Feb 25, 2025
e72efed
Reorganize tests
Feb 26, 2025
773880f
Address comments
Mar 4, 2025
2cb2c92
Nowarn non-private implicit val class params
som-snytt Feb 25, 2025
8b04ba8
Nowarn public implicit val class params (#22664)
sjrd Mar 6, 2025
73ba485
Refactor the abstract domain of global init checker to compile http4s…
olhotak Mar 6, 2025
a0afad3
Bump Scala CLI to v1.7.0
Gedochao Mar 7, 2025
b1caf46
Bump `scala-cli-setup` GitHub action to v1.7.0
Gedochao Mar 7, 2025
2b4d157
Bump Scala CLI to v1.7.0 (#22735)
Gedochao Mar 7, 2025
e6c8862
Set referenceVersion to 3.6.4
WojciechMazur Mar 7, 2025
7b12a1c
REPL: JLine 3.29.0 (was 3.27.1) (#22679)
WojciechMazur Mar 7, 2025
b092197
[chore] Set referenceVersion to 3.6.4 (#22739)
WojciechMazur Mar 7, 2025
9b38a11
Synchronize with language-reference-stable
WojciechMazur Mar 7, 2025
977232c
Rename on import is never wildcard
som-snytt Mar 5, 2025
3d539b9
[chore] Synchronize with language-reference-stable after release 3.6.…
WojciechMazur Mar 8, 2025
c880a58
Warn unused member of anonymous class
som-snytt Mar 5, 2025
133dcb3
First cut at nowarn refinement members
som-snytt Mar 8, 2025
c37dc8b
Restrict implicit args to using
som-snytt Jan 24, 2025
d1852bf
Restore resolving prefixes of implicit Ident
som-snytt Mar 7, 2025
b9464b4
Make NamedTuples a standard feature again in 3.7
WojciechMazur Mar 9, 2025
3b4a36a
Remove dead code after stablization of NamedTuples
WojciechMazur Mar 9, 2025
0bdf644
Restore ambigious-named-tuple-assignment migration rewrite
WojciechMazur Mar 9, 2025
d08277f
Restore infix named args deprecated syntax detection and migration. N…
WojciechMazur Mar 9, 2025
4ae950d
Make `DeprecatedAssignmentSyntax` have an `Deprecatated` instead fo `…
WojciechMazur Mar 9, 2025
d029170
Fix neg/infix-named-args test expected output
WojciechMazur Mar 9, 2025
2f639e2
Make Ref.apply() return trees usable in the largest scope possible (#…
hamzaremmal Mar 9, 2025
26befcb
Add ExpressionCompiler in compiler module
adpi2 Feb 7, 2025
174a757
Add skeleton for debug tests
adpi2 Feb 11, 2025
afef97c
Introduce debugMode in RunnerOrchestration
adpi2 Feb 11, 2025
1378e1a
Add debugMain method
adpi2 Feb 12, 2025
62e0f40
Introduce Debugger
adpi2 Feb 12, 2025
32e538d
Add DebugStepAssert and parsing
adpi2 Feb 12, 2025
29f81e0
Implement Debugger
adpi2 Feb 13, 2025
ade2269
Configure JDI with sbt-jdi-tools
adpi2 Feb 17, 2025
43393ae
Introduce and implement ExpressionEvaluator
adpi2 Feb 17, 2025
50e03cc
Add Eval step in debug check file
adpi2 Feb 18, 2025
708607d
Add multi-line error check
adpi2 Feb 18, 2025
9354f4e
Hide progress bar when user is debugging the tests
adpi2 Feb 19, 2025
f14f73b
Add eval-static-fields test
adpi2 Feb 19, 2025
bfaec0f
Improve error reporting
adpi2 Feb 19, 2025
3e9f516
Fix re-using process for debugging
adpi2 Feb 20, 2025
9e36be6
Add eval-value-class test
adpi2 Feb 25, 2025
20c8280
Add more evaluation tests
adpi2 Feb 20, 2025
dffa9f4
Remove old Gen script for running debug tests
adpi2 Feb 27, 2025
176d8d1
Add documentation
adpi2 Feb 27, 2025
0855b09
Go to Add ExpressionCompiler
adpi2 Mar 7, 2025
ad715f7
Remove summaryReport.addCleanup
adpi2 Mar 7, 2025
c73fe36
Remove unused param in ExtractExpression.reflectEval
adpi2 Mar 7, 2025
5ca0b9a
Minor changes in ExtractExpression
adpi2 Mar 7, 2025
5c1a68e
remove useless transform of inline val
adpi2 Mar 7, 2025
9fcf8f1
Strenghten eval-java-protected-members test
adpi2 Mar 10, 2025
4672f2c
Add scaladoc on ExpressionCompiler
adpi2 Mar 10, 2025
97eef6e
Drop `betterMatchTypeExtractors` from Feature (#22656)
hamzaremmal Mar 10, 2025
6791207
Add eval-explicit-nulls test
adpi2 Mar 10, 2025
5a2c54a
Minor changes in InsertExpression
adpi2 Mar 10, 2025
a59d3e1
Restore resolving prefixes of implicit Ident (#22751)
sjrd Mar 10, 2025
bca9e31
Minor changes in ResolveReflectEval
adpi2 Mar 10, 2025
798987a
Restrict implicit args to using (#22458)
sjrd Mar 10, 2025
9646f65
Add plugin to copy binary files from the scala 2 artefacts (#22480)
sjrd Mar 10, 2025
120f305
Scaladoc tool: render `@deprecated` correctly even when named argumen…
HarrisL2 Mar 10, 2025
b75cd4d
Add scaladoc on expression compiler phases
adpi2 Mar 10, 2025
3f3a19a
Disable cache require clean on CI
adpi2 Mar 10, 2025
cce70da
Make Named Tuples a stable feature in 3.7 (#22753)
odersky Mar 10, 2025
4bb08f7
Update compiler/src/dotty/tools/repl/ReplDriver.scala
aherlihy Mar 10, 2025
42c4e89
Add wrapper around :jar to avoid crashing repl on invalid jar
aherlihy Mar 10, 2025
8a99f9f
Add expression compiler (#22597)
adpi2 Mar 10, 2025
77c3efb
Ignore params to default arg getters
som-snytt Mar 7, 2025
825baf9
No warn param of overriding method
som-snytt Mar 10, 2025
f8a521f
Implement :jar (deprecate :require) (#22343)
aherlihy Mar 10, 2025
3e61bd9
Suppression toString
som-snytt Feb 27, 2025
3c18222
Register nowarn when inlining
som-snytt Feb 27, 2025
daf88c7
Handle multiple annotations
som-snytt Mar 10, 2025
0bbd04f
Ignore params to default arg getters (#22749)
sjrd Mar 10, 2025
40ca110
Lazy val def member is pattern var
som-snytt Mar 8, 2025
d362492
Dealias before checking for member in lint (#22708)
som-snytt Mar 10, 2025
fe982db
No warning for parameter of overriding method (#22757)
sjrd Mar 11, 2025
ddc2b33
Register nowarn when inlining (#22682)
jchyb Mar 11, 2025
16d70cb
Use full compiler classpath as cache input of bootstrapped compilation
adpi2 Mar 11, 2025
24d8ecb
Fixes #15736
ddtthh Feb 20, 2025
cb8b139
Fix DebugTests on Java 8
adpi2 Mar 11, 2025
d0a11e0
Collect nowarn symbols instead of skipping them
som-snytt Mar 10, 2025
6887748
Fixes #15736 blocking Scala 3 on Android (#22632)
lrytz Mar 11, 2025
87f0078
Make SIP-62 - `betterFors` a standard feature (#22652)
KacperFKorban Mar 11, 2025
016b20d
Disable require clean and fix caching of bootstrapped compilation (#2…
hamzaremmal Mar 11, 2025
7fee397
[Fix Nightly CI] DebugTests on Java 8 (#22770)
hamzaremmal Mar 11, 2025
cefa37b
Add enum type param support in sourceSymbol (#18603)
tgodzik Mar 11, 2025
3d06843
Make better-fors a preview feature in 3.7 (#22776)
WojciechMazur Mar 12, 2025
c7032bd
Add class parameters, flags, and privateWithin and annotations to new…
jchyb Mar 11, 2025
3ac58cf
Add changelog for 3.7.0-RC1
WojciechMazur Mar 12, 2025
4283deb
Release 3.7.0
WojciechMazur Mar 12, 2025
6967338
Add missing contributors section in 3.7.0-RC1 changelog
WojciechMazur Mar 12, 2025
4e75ac7
Fix #22794: Emit the definition of `Arrays.newArray` even though it's…
sjrd Mar 13, 2025
d97c30a
Backport "Fix #22794: Emit the definition of Arrays.newArray even tho…
WojciechMazur Mar 14, 2025
5507bcd
Bump Scala CLI to v1.7.1 (was v1.7.0)
Gedochao Mar 20, 2025
815cdf3
Retire untried tests
som-snytt Mar 14, 2025
545f172
Move untried tests to tried and true
som-snytt Mar 15, 2025
b201df0
Revert unconditional lint of Inlined
som-snytt Mar 15, 2025
ed5a8b7
Deprecate `Yno-kind-polymorphism` (#22814)
Linyxus Mar 18, 2025
958e896
Fail compilation if multiple conflicting top-level private defs/vals …
jchyb Mar 17, 2025
a76dc30
Backport "Bump Scala CLI to v1.7.1 (was v1.7.0)" to 3.7 (#22929)
WojciechMazur Apr 8, 2025
6494755
Backport "Revert unconditional lint of Inlined expansion" to 3.7 (#22…
WojciechMazur Apr 8, 2025
a5bf751
Backport "Deprecate `Yno-kind-polymorphism`" to 3.7 (#22931)
WojciechMazur Apr 8, 2025
6089e02
Backport "Fail compilation if multiple conflicting top-level private …
WojciechMazur Apr 8, 2025
a07aacf
Revert "Make overload pruning based on result types less aggressive (…
WojciechMazur Apr 8, 2025
2c38464
Revert "Make overload pruning based on result types less aggressive" …
WojciechMazur Apr 8, 2025
bee65d9
Improve dentation at EOF
som-snytt Apr 8, 2025
c9bf402
Backport "Check trailing blank line at EOF for OUTDENT" to 3.7.0 (#22…
WojciechMazur Apr 9, 2025
d29f2a5
Add changelog for 3.7.0-RC2
WojciechMazur Apr 9, 2025
d112546
Release 3.7.0-RC2
WojciechMazur Apr 9, 2025
b989a7b
Changes in preparation to make `caps.Capability` stable (#22849)
natsukagami Mar 24, 2025
2ee0c7e
Mitigate change in status of scala.caps
odersky Apr 9, 2025
5517193
Backport "changes to scala.caps in preparation to make Capability sta…
WojciechMazur Apr 11, 2025
842c13b
Two fixes to NamedTuple pattern matching
odersky Apr 9, 2025
3f184c6
Adapt refutability warning in Space engine to named tuples
odersky Apr 10, 2025
13204d0
Add check files
odersky Apr 10, 2025
1c80c61
Backport "Two fixes to NamedTuple pattern matching" to 3.7.0 (#22995)
WojciechMazur Apr 14, 2025
eb3931e
Add changelog for 3.7.0-RC3
WojciechMazur Apr 14, 2025
9254654
Release 3.7.0-RC3
WojciechMazur Apr 14, 2025
c43afb9
Cherry-pick upgrade to Scala.js 1.9.0 in the scalatest CB project.
sjrd Apr 23, 2025
84cbf45
Upgrade to Scala.js 1.19.0.
sjrd Apr 22, 2025
325ae78
Upgrade to Scala.js 1.19.0.
tgodzik Apr 23, 2025
9bdd736
Backport "Upgrade to Scala.js 1.19.0." to 3.7 (#23035)
tgodzik Apr 24, 2025
dd0867f
chore: Add changelog and bump version
tgodzik Apr 24, 2025
5a5bed9
Add changelog for 3.7.0
WojciechMazur May 5, 2025
c92e20e
Release 3.7.0
WojciechMazur May 5, 2025
3e9162d
Merge tag '3.7.0' into language-reference-stable
WojciechMazur May 7, 2025
b730a5e
Sync TASTY version, set 28.7
WojciechMazur May 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.10.5
ENV SBT_VERSION 1.10.7
RUN curl -sL "https://github.com/sbt/sbt/releases/download/v$SBT_VERSION/sbt-$SBT_VERSION.tgz" | gunzip | tar -x -C /usr/local
49 changes: 27 additions & 22 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
## Workaround for https://github.com/actions/runner/issues/2033 (See https://github.com/scala/scala3/pull/19720)
- name: Reset existing repo
run: |
git config --global --add safe.directory /__w/scala3/scala3
git config --global --add safe.directory $GITHUB_WORKSPACE
git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/scala/scala3" && git reset --hard FETCH_HEAD || true

- name: Checkout cleanup script
Expand Down Expand Up @@ -133,7 +133,7 @@ jobs:

- name: Reset existing repo
run: |
git config --global --add safe.directory /__w/scala3/scala3
git config --global --add safe.directory $GITHUB_WORKSPACE
git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/scala/scala3" && git reset --hard FETCH_HEAD || true

- name: Checkout cleanup script
Expand Down Expand Up @@ -190,7 +190,7 @@ jobs:

- name: Reset existing repo
run: |
git config --global --add safe.directory /__w/scala3/scala3
git config --global --add safe.directory $GITHUB_WORKSPACE
git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/scala/scala3" && git reset --hard FETCH_HEAD || true

- name: Checkout cleanup script
Expand Down Expand Up @@ -229,7 +229,7 @@ jobs:
- name: Reset existing repo
shell: cmd
run: |
git config --global --add safe.directory /__w/scala3/scala3
git config --global --add safe.directory $GITHUB_WORKSPACE
git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/scala/scala3" && git reset --hard FETCH_HEAD || true

- name: Git Checkout
Expand Down Expand Up @@ -273,7 +273,7 @@ jobs:
- name: Reset existing repo
shell: cmd
run: |
git config --global --add safe.directory /__w/scala3/scala3
git config --global --add safe.directory $GITHUB_WORKSPACE
git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/scala/scala3" && git reset --hard FETCH_HEAD || true

- name: Git Checkout
Expand Down Expand Up @@ -319,7 +319,7 @@ jobs:

- name: Reset existing repo
run: |
git config --global --add safe.directory /__w/scala3/scala3
git config --global --add safe.directory $GITHUB_WORKSPACE
git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/scala/scala3" && git reset --hard FETCH_HEAD || true

- name: Checkout cleanup script
Expand Down Expand Up @@ -374,7 +374,7 @@ jobs:
run: echo "/usr/lib/jvm/java-8-openjdk-amd64/bin" >> $GITHUB_PATH
- name: Reset existing repo
run: |
git config --global --add safe.directory /__w/scala3/scala3
git config --global --add safe.directory $GITHUB_WORKSPACE
git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/scala/scala3" && git reset --hard FETCH_HEAD || true

- name: Checkout cleanup script
Expand All @@ -391,7 +391,7 @@ jobs:

- name: Test
run: |
git config --global --add safe.directory /__w/scala3/scala3
git config --global --add safe.directory $GITHUB_WORKSPACE
git submodule sync
git submodule update --init --recursive --jobs 7
./project/scripts/sbt "community-build/testOnly dotty.communitybuild.CommunityBuildTestA"
Expand Down Expand Up @@ -431,7 +431,7 @@ jobs:
run: echo "/usr/lib/jvm/java-8-openjdk-amd64/bin" >> $GITHUB_PATH
- name: Reset existing repo
run: |
git config --global --add safe.directory /__w/scala3/scala3
git config --global --add safe.directory $GITHUB_WORKSPACE
git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/scala/scala3" && git reset --hard FETCH_HEAD || true

- name: Checkout cleanup script
Expand All @@ -448,7 +448,7 @@ jobs:

- name: Test
run: |
git config --global --add safe.directory /__w/scala3/scala3
git config --global --add safe.directory $GITHUB_WORKSPACE
git submodule sync
git submodule update --init --recursive --jobs 7
./project/scripts/sbt "community-build/testOnly dotty.communitybuild.CommunityBuildTestB"
Expand Down Expand Up @@ -488,7 +488,7 @@ jobs:
run: echo "/usr/lib/jvm/java-8-openjdk-amd64/bin" >> $GITHUB_PATH
- name: Reset existing repo
run: |
git config --global --add safe.directory /__w/scala3/scala3
git config --global --add safe.directory $GITHUB_WORKSPACE
git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/scala/scala3" && git reset --hard FETCH_HEAD || true

- name: Checkout cleanup script
Expand All @@ -505,7 +505,7 @@ jobs:

- name: Test
run: |
git config --global --add safe.directory /__w/scala3/scala3
git config --global --add safe.directory $GITHUB_WORKSPACE
git submodule sync
git submodule update --init --recursive --jobs 7
./project/scripts/sbt "community-build/testOnly dotty.communitybuild.CommunityBuildTestC"
Expand Down Expand Up @@ -541,7 +541,7 @@ jobs:

- name: Reset existing repo
run: |
git config --global --add safe.directory /__w/scala3/scala3
git config --global --add safe.directory $GITHUB_WORKSPACE
git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/scala/scala3" && git reset --hard FETCH_HEAD || true

- name: Checkout cleanup script
Expand Down Expand Up @@ -593,7 +593,7 @@ jobs:

- name: Reset existing repo
run: |
git config --global --add safe.directory /__w/scala3/scala3
git config --global --add safe.directory $GITHUB_WORKSPACE
git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/scala/scala3" && git reset --hard FETCH_HEAD || true

- name: Checkout cleanup script
Expand Down Expand Up @@ -630,7 +630,10 @@ jobs:
- ${{ github.workspace }}/../../cache/general:/root/.cache
strategy:
matrix:
branch: [main, lts-3.3]
series: [
{repository: scala/scala3, branch: main}, # Scala Next nightly
{repository: scala/scala3-lts, branch: lts-3.3} # Scala LTS nightly
]
needs: [test_non_bootstrapped, test, mima, community_build_a, community_build_b, community_build_c, test_sbt, test_java8]
if: "(github.event_name == 'schedule' || github.event_name == 'workflow_dispatch') && github.repository == 'scala/scala3'"
env:
Expand All @@ -648,7 +651,7 @@ jobs:
run: echo "/usr/lib/jvm/java-8-openjdk-amd64/bin" >> $GITHUB_PATH
- name: Reset existing repo
run: |
git config --global --add safe.directory /__w/scala3/scala3
git config --global --add safe.directory $GITHUB_WORKSPACE
git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/scala/scala3" && git reset --hard FETCH_HEAD || true

- name: Checkout cleanup script
Expand All @@ -660,7 +663,8 @@ jobs:
- name: Git Checkout
uses: actions/checkout@v4
with:
ref: ${{ matrix.branch }}
repository: ${{ matrix.series.repository }}
ref: ${{ matrix.series.branch }}

- name: Add SBT proxy repositories
run: cp -vf .github/workflows/repositories /root/.sbt/ ; true
Expand Down Expand Up @@ -706,7 +710,7 @@ jobs:
steps:
- name: Reset existing repo
run: |
git config --global --add safe.directory /__w/scala3/scala3
git config --global --add safe.directory $GITHUB_WORKSPACE
git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/scala/scala3" && git reset --hard FETCH_HEAD || true

- name: Checkout cleanup script
Expand All @@ -723,7 +727,7 @@ jobs:

- name: Generate Website
run: |
git config --global --add safe.directory /__w/scala3/scala3
git config --global --add safe.directory $GITHUB_WORKSPACE
./project/scripts/genDocs -doc-snapshot

- name: Deploy Website to https://dotty.epfl.ch
Expand Down Expand Up @@ -764,7 +768,7 @@ jobs:
run: echo "/usr/lib/jvm/java-8-openjdk-amd64/bin" >> $GITHUB_PATH
- name: Reset existing repo
run: |
git config --global --add safe.directory /__w/scala3/scala3
git config --global --add safe.directory $GITHUB_WORKSPACE
git -c "http.https://github.com/.extraheader=" fetch --recurse-submodules=no "https://github.com/scala/scala3" && git reset --hard FETCH_HEAD || true

- name: Checkout cleanup script
Expand Down Expand Up @@ -832,9 +836,10 @@ jobs:
sha256sum "${msiInstaller}" > "${msiInstaller}.sha256"

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

# Create the GitHub release
- name: Create GitHub Release
env:
Expand All @@ -843,7 +848,7 @@ jobs:
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
git config --global --add safe.directory $GITHUB_WORKSPACE
gh release create \
--draft \
--title "${{ env.RELEASE_TAG }}" \
Expand Down
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/scala-cli-setup@v1.5.4
- uses: VirtusLab/scala-cli-setup@v1.7.1
- 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-sdkman.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- platform: WINDOWS_64
archive : 'scala3-${{ inputs.version }}-x86_64-pc-win32.zip'
steps:
- uses: sdkman/sdkman-release-action@1f2d4209b4f5a38721d4ae20014ea8e1689d869e
- uses: sdkman/sdkman-release-action@a60691d56279724b4c9ff0399c0ae21d641ab75e
with:
CONSUMER-KEY : ${{ secrets.CONSUMER-KEY }}
CONSUMER-TOKEN : ${{ secrets.CONSUMER-TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
env:
USER_FOR_TEST: ${{ secrets.SPEC_DEPLOY_USER }}
if: ${{ env.USER_FOR_TEST != '' }}
uses: burnett01/[email protected].1
uses: burnett01/[email protected].2
with:
switches: -rzv
path: docs/_spec/_site/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,7 @@ jobs:

linux-aarch64:
name: Deploy and Test on Linux ARM64 architecture
runs-on: macos-latest
if: ${{ false }}
runs-on: ubuntu-24.04-arm
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ testlogs/

# Put local stuff here
local/
compiler/test/debug/Gen.jar

/bin/.cp

Expand Down
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,6 @@
[submodule "community-build/community-projects/fastparse"]
path = community-build/community-projects/fastparse
url = https://github.com/dotty-staging/fastparse
[submodule "community-build/community-projects/stdLib213"]
path = community-build/community-projects/stdLib213
url = https://github.com/dotty-staging/scala213
[submodule "community-build/community-projects/sourcecode"]
path = community-build/community-projects/sourcecode
url = https://github.com/dotty-staging/sourcecode
Expand Down
6 changes: 6 additions & 0 deletions bin/replQ
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env bash

ROOT="$(cd "$(dirname "${BASH_SOURCE[0]}")" >& /dev/null && pwd)/.."
. $ROOT/bin/commonQ

java -Dscala.usejavacp=true -cp $cp dotty.tools.repl.Main -usejavacp "$@"
Loading
Loading