Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
969 commits
Select commit Hold shift + click to select a range
d519790
bugfix: Fix issues with annotations not detected (#22878)
tgodzik Mar 28, 2025
7719401
Dealias when looking into imports
som-snytt Mar 13, 2025
fa34018
Dealias when looking into imports (#22889)
sjrd Apr 1, 2025
4cdeb81
Approximate annotated types in `wildApprox`
mbovel Mar 31, 2025
72d0026
Approximate annotated types in `wildApprox` (#22893)
mbovel Apr 1, 2025
d0e9062
Extension check checks for no parens not empty parens
som-snytt Mar 17, 2025
4a08030
Update getting started docs. (#22905)
rochala Apr 2, 2025
075b9ab
chore: update develocity to 1.2-rc5
hamzaremmal Apr 2, 2025
a8cf11d
chore: update develocity to 1.2-rc5 (#22907)
hamzaremmal Apr 2, 2025
0ebb4db
No warn implicit param of overriding method
som-snytt Apr 1, 2025
8253ee2
Check Override before looking for overridden
som-snytt Apr 1, 2025
1da6599
Always trust override modifier
som-snytt Apr 2, 2025
819586f
Collectivize contextual param in extensions
som-snytt Apr 2, 2025
94defc2
Prefer allOverriddenSymbols.hasNext
som-snytt Apr 2, 2025
f8d681f
Consult self type for overrides
som-snytt Apr 2, 2025
6bd8a0f
Mix in the `productPrefix` hash statically in case class `hashCode` (…
lrytz Apr 3, 2025
c044420
No warn implicit param of overriding method (#22901)
sjrd Apr 3, 2025
2974ab2
Rename Typelessclause to something easier to understand
odersky Apr 3, 2025
d72e5ea
Fix override checking of alias vs abstract types
odersky Mar 19, 2025
19dcfa2
Refactor: Drop isSubType parameter for override checking
odersky Mar 19, 2025
e9cdf94
More targeted handling of overriding checks against CapSet^
odersky Mar 19, 2025
cd2b7e6
Fix pathRoot
odersky Mar 15, 2025
58162ff
Simplify levelOK check for of Result(...) instances
odersky Mar 17, 2025
9105cf3
Reject ParamRefs in capture sets that are not in the result type of t…
odersky Mar 17, 2025
f6e5bc6
Harden checkApply duplicate error detection
odersky Mar 18, 2025
fc06af6
Under 3.8 solve all capture sets in types of vals and defs
odersky Mar 20, 2025
67446d2
Solve all capture sets in types of vals and defs by default
odersky Mar 20, 2025
ccf9867
Simplify setup
odersky Mar 21, 2025
1611183
Fix to interpolation
odersky Mar 21, 2025
90cee43
Redo handling of closures without relying on pre-existing maps
odersky Mar 21, 2025
c662bc3
Re-use `NamerOps.methodType when computing initial types of methods
odersky Mar 23, 2025
50b0b4d
Drop some BiTypeMaps
odersky Mar 23, 2025
dbd6f8f
Fuse successive SubstBindings maps and filters
odersky Mar 24, 2025
f33058c
Add tests that failed in CI before
odersky Mar 24, 2025
f43d24b
Drop IdempotentCaptRefMap and Mapped sets
odersky Mar 24, 2025
d8a8084
Unify existentials when matching function types
odersky Mar 27, 2025
6d9dbf6
Tighten subsumption checking of Fresh instances
odersky Mar 28, 2025
56de8df
Fix isPartOf
odersky Mar 29, 2025
09e05f0
Fix SubstBindings BiTypeMap logic
odersky Mar 31, 2025
58d052e
Variations on a test case
odersky Mar 31, 2025
823782c
Completions for requests just before string (#22894)
NPCRUS Apr 3, 2025
5a87908
Refactor JavaNullInterop to reflect new usage
HarrisL2 Mar 8, 2025
bd0533a
Make captureSetofInfo cache in CaptureRefs depend on iteration count
odersky Apr 5, 2025
bb51ba0
Redo capture checks if necessary
odersky Apr 5, 2025
99f5628
Revert "Split posCC from pos tests"
odersky Apr 5, 2025
d674405
Drop healTypeParam
odersky Apr 5, 2025
3dd4f10
Refactor: move ccConfig into separate file
odersky Apr 6, 2025
053341d
Refactor: Move CCState to separate file and make it more class based
odersky Apr 6, 2025
86970ef
Refactor: Move previously @sharable data to ccState
odersky Apr 6, 2025
4e5d038
Rename also in parser
odersky Apr 6, 2025
0cd43fe
Rename Typelessclause to something easier to understand (#22912)
bracevac Apr 7, 2025
dbb7dee
Bump sdkman/sdkman-release-action
dependabot[bot] Apr 7, 2025
9173814
Fix existing GADT constraints with introduced pattern-bound symbols
dwijnand Apr 7, 2025
ee9ba92
Bump sdkman/sdkman-release-action from a60691d56279724b4c9ff0399c0ae2…
hamzaremmal Apr 8, 2025
b90a185
Fix isGenericArrayElement for higher-kinded types
odersky Apr 8, 2025
b1575f0
Fix isGenericArrayElement for higher-kinded types (#22938)
smarter Apr 8, 2025
7b9c5d8
Fix insertion of `using` in applications with trailing lambda syntax
mbovel Apr 8, 2025
b4a802a
Only insert `using` for applications with parentheses syntax
mbovel Apr 8, 2025
bc6cf47
Improve dentation at EOF
som-snytt Apr 8, 2025
dee5e7e
Boolean format is null test for non-Boolean
som-snytt Jun 16, 2024
74c8310
Respect conversion before conform to Any
som-snytt Jun 16, 2024
ad99a5d
-Wtostring-interpolated for f
som-snytt Jun 16, 2024
b1b43a3
Lint concatenation
som-snytt Jun 17, 2024
ffc0343
-Wall of shame
som-snytt Aug 22, 2024
c8d9fa0
Improve weird bool fmt message
som-snytt Apr 7, 2025
de7a6a2
Improve name to stringXn, minor refactor for reading
som-snytt Apr 7, 2025
7976598
Format interpolator messages get an ID
som-snytt Apr 7, 2025
9bef68c
Copy implementation of SubstMap to IntegrateMap
mbovel Apr 9, 2025
cb97658
Two fixes to NamedTuple pattern matching
odersky Apr 9, 2025
c6a64d3
Set referenceVersion to 3.7.0-RC2
WojciechMazur Apr 9, 2025
dcf176b
Fix existing GADT constraints with introduced pattern-bound symbols (…
odersky Apr 9, 2025
ce855b7
Mitigate change in status of scala.caps
odersky Apr 9, 2025
f8498b2
chore: bump develocity to 1.2
hamzaremmal Apr 9, 2025
ba3c6a0
chore: bump develocity to 1.2 (#22958)
hamzaremmal Apr 10, 2025
849934f
Mitigate change in status of scala.caps (#22956)
WojciechMazur Apr 10, 2025
258dff1
[chore] Set referenceVersion to 3.7.0-RC2 (#22955)
WojciechMazur Apr 10, 2025
4dd215c
Fix fromProduct synthesized code for parameter-dependent case classes
odersky Apr 10, 2025
583f75f
Adapt refutability warning in Space engine to named tuples
odersky Apr 10, 2025
ca80310
Add check files
odersky Apr 10, 2025
e5ea2a2
improvement: Support using directives in worksheets
tgodzik Apr 9, 2025
64442a0
Print infix operations in infix form (#22854)
mbovel Apr 10, 2025
44a61ea
pc: Properly adjust indentation when inlining blocks (#22915)
KacperFKorban Apr 10, 2025
98c84c3
Two fixes to NamedTuple pattern matching (#22953)
sjrd Apr 11, 2025
93ed111
Fix #22724: Revert the PolyType case in #21744 (#22820)
mbovel Apr 11, 2025
88a741b
improvement: Support using directives in worksheets (#22957)
tgodzik Apr 11, 2025
2078b74
fix: show hover for synthetics if explicitly used
kasiaMarek Apr 11, 2025
46a2694
chore: remove all the warnings in the compiler codebase
hamzaremmal Apr 11, 2025
5569c74
chore: add .git-blame-ignore-revs
hamzaremmal Apr 11, 2025
fe9e53c
chore: remove all the warnings in the compiler codebase (#22975)
hamzaremmal Apr 11, 2025
262ebd2
fix: show hover for synthetics if explicitly used (#22973)
tgodzik Apr 11, 2025
2f32850
CC: Drop idempotent type maps (#22910)
odersky Apr 11, 2025
37c52ad
Fix setup of class constructors
odersky Apr 11, 2025
7e86357
Process Export for unused check
som-snytt Apr 11, 2025
f4847cc
Apply Flexible Types to Symbols from files compiled without Explicit …
noti0na1 Apr 11, 2025
8e6f43e
Drill into QuotePattern bindings symbol info
som-snytt Apr 12, 2025
32defdf
No warn for evidence params of marker traits such as NotGiven
som-snytt Apr 11, 2025
e70ea84
Fix insertion of `using` in applications with trailing lambda syntax …
odersky Apr 12, 2025
be54aa3
Revert "Refactor JavaNullInterop to reflect new usage"
olhotak Apr 12, 2025
fd251d8
Revert "Do not nullify Modules"
olhotak Apr 12, 2025
644de7e
Revert "Wrap unsafeNull members in flexible types during unpickling"
olhotak Apr 12, 2025
e5f9cfb
Fix setup of class constructors (#22980)
odersky Apr 13, 2025
7d2c322
Revert flexible types tasty to fix CI (#22992)
noti0na1 Apr 13, 2025
5b4b5c2
Disallow context bounds in type lambdas (#22659)
jan-pieter Apr 13, 2025
8f48a3b
Fix issue with certain synthetics missing in compiletime.typechecks
jchyb Apr 11, 2025
884436f
Report warning for argument parameter number mismatch.
lidaisy Mar 25, 2025
9956adf
fix #22833: allow unroll annotation in methods of final class (#22926)
olhotak Apr 14, 2025
952c334
Check for tasty error in template trees. (#22867)
olhotak Apr 14, 2025
e26f159
Set reference version to 3.7.0-RC3
WojciechMazur Apr 14, 2025
90de366
[chore] Set reference version to 3.7.0-RC3 (#23000)
WojciechMazur Apr 15, 2025
b6257dd
Add experimentalpackageObjectValues language setting
odersky Apr 15, 2025
06886b0
Fix fromProduct synthesized code for parameter-dependent case classes…
smarter Apr 15, 2025
f87077d
Update asm to 9.8.0
Philippus Apr 16, 2025
f8b12dd
Call dealias after stripping type variables for tupleElementTypesUpTo
aherlihy Apr 16, 2025
5b869a4
Add tests from #22645
aherlihy Apr 16, 2025
c410548
Disable Cats flaky tests
mbovel Apr 16, 2025
2d034c2
Disable Cats flaky tests (#23007)
mbovel Apr 16, 2025
0cded65
Move delias into recur for tupleElementTypesUpTo
aherlihy Apr 17, 2025
fbaca4c
Readd ExhibitB test with pickling exclusion
aherlihy Apr 17, 2025
ac47299
Call dealias after stripping type variables for tupleElementTypesUpTo…
aherlihy Apr 17, 2025
96a3c11
Update asm to 9.8.0 (#23004)
SethTisue Apr 17, 2025
3ee5b29
Disallow context function types as value-class parameters
bracevac Apr 17, 2025
4db7df7
Respect export alias for default arg forwarder
som-snytt Jul 7, 2024
05b102a
Disallow context function types as value-class parameters (#23015)
bracevac Apr 17, 2025
bac43a7
Cherry-pick upgrade to Scala.js 1.9.0 in the scalatest CB project.
sjrd Apr 23, 2025
12ca458
Upgrade to Scala.js 1.19.0.
sjrd Apr 22, 2025
51adb13
Add experimental.packageObjectValues language setting (#23001)
odersky Apr 23, 2025
b27f55b
Upgrade to Scala.js 1.19.0. (#23026)
odersky Apr 23, 2025
02306bb
Refuse trailing type parameters in extractors (#22699)
odersky Apr 23, 2025
9f63495
Avoid loosing denotations of named types during `integrate` (#22839)
odersky Apr 23, 2025
e370395
Harden isTrackableRef
odersky Apr 23, 2025
7460283
Process Export for unused check (#22984)
sjrd Apr 24, 2025
aeb09a7
Drill into QuotePattern bindings symbol info (#22987)
sjrd Apr 24, 2025
b7b0b2e
No warn for evidence params of marker traits such as NotGiven (#22985)
sjrd Apr 24, 2025
98443b6
Harden isTrackableRef (#23039)
odersky Apr 24, 2025
fbcba8f
Disallow value classes extending type aliases of AnyVal
nox213 Apr 20, 2025
9315bbb
less allocation
nox213 Apr 23, 2025
5a5ddac
Two fixes to handling of abstract types with cap bounds (#22838)
odersky Apr 24, 2025
82269f7
Respect export alias for default arg forwarder (#21109)
odersky Apr 24, 2025
f3b0873
chore: Set reference version to 3.7.0-RC4
tgodzik Apr 24, 2025
99d640c
chore: Set reference version to 3.7.0-RC4 (#23046)
WojciechMazur Apr 24, 2025
6c021c6
doc: make TypeTest example compiling (#23009)
road21 Apr 25, 2025
fbd8add
Fix issue with certain synthetics missing in compiletime.typechecks (…
hamzaremmal Apr 25, 2025
9d90ff5
improvement: Rework IndexedContext to reuse the previously calculated…
tgodzik Apr 25, 2025
fb6cc9b
Test chars safely when highlighting
som-snytt Apr 3, 2025
fc41883
Revert "Fix inline proxy generation for opaque types referencing othe…
jchyb Apr 28, 2025
c4a6bed
Partially revert c8c8cf5f1d87fceb1713af6d81ac9a689a90a4ac (leaving th…
jchyb Apr 28, 2025
ae756ad
Add regression tests
jchyb Apr 28, 2025
c3564df
Tighten condition to preserve denotation in IntegrateMap
mbovel Apr 28, 2025
f6ae62f
Tighten condition to preserve denotation in IntegrateMap (#23060)
mbovel Apr 28, 2025
09f88ae
Avoid computing closure bodies twice
odersky Apr 28, 2025
9443494
Make sure type definitions are not rechecked twice
odersky Apr 28, 2025
1c886c6
Keep unused annot on params
som-snytt Apr 23, 2025
bbe2dde
Fix `Constant` tag of `Expr(null: String)`
mbovel Apr 28, 2025
08f2e4a
Warn if match in block is not used for PF
som-snytt Apr 15, 2025
885f70a
Fix hasCap test to establish PrintFresh criterion
odersky Apr 29, 2025
627b6e5
Loosen the "dxoes not match previously inferred" criterion
odersky Apr 29, 2025
48e8328
pc: fix: inline value when def indentation equals 2 (#22990)
kasiaMarek Apr 29, 2025
2712b0b
Make sure we don't recheck closure bodies twice (#23066)
noti0na1 Apr 29, 2025
57807c6
Spliced position respects source file
som-snytt Apr 23, 2025
c4531d4
fix: make pc actions work for re-exported symbols
kasiaMarek Apr 30, 2025
e0fbfde
Accept `null` in `StringToExpr` but not in `StringConstant`
mbovel Apr 30, 2025
15f40a9
Loosen the "does not match previously inferred" criterion (#23067)
bracevac May 1, 2025
43118de
pc: Implement code action 'convert to named lambda parameters' (#22799)
KacperFKorban May 1, 2025
83ffe00
Implement applied constructor types (#22543)
KacperFKorban May 1, 2025
77401fa
Revert recent changes to opaque type proxy generation (#23059)
jchyb May 2, 2025
4e8f607
Set developed version to 3.7.2
WojciechMazur May 2, 2025
166c893
[chore]: Set developed version to 3.7.2 (#23091)
WojciechMazur May 2, 2025
9b0f85a
Temporarly disable released Tasty version checks, due to delayed 3.7.…
WojciechMazur May 3, 2025
2926e32
[chore] Temporarly disable released Tasty version checks, due to dela…
WojciechMazur May 3, 2025
dc19b2f
fix: synthesise value of `this.type` in `ValueOf`
hamzaremmal May 3, 2025
453f94d
fix: synthesise value of `this.type` in `ValueOf` (#23094)
hamzaremmal May 3, 2025
0ae343f
Improved edit span for import (#23083)
som-snytt May 5, 2025
eb6d3a8
improvement: Don't dealias named tuples for type hints (#23013)
tgodzik May 5, 2025
659c9aa
Set reference compiler to 3.7.1-RC1
WojciechMazur May 5, 2025
8fe8039
Set MiMa previous version to 3.7.0
WojciechMazur May 5, 2025
a7ee39a
Set TASTy version to 28.8-experimental-1 acording to procedure. Rever…
WojciechMazur May 5, 2025
d8db299
Retrigger CI with [test_non_bootstrapped]
WojciechMazur May 5, 2025
e392382
Enclosing package p.q not visible as q
som-snytt Apr 29, 2025
5ac8a32
[chore]: Setup build for 3.7.2 development cycle (#23100)
WojciechMazur May 5, 2025
d87bbb1
Enclosing package p.q not visible as q (#23069)
sjrd May 5, 2025
107a2f1
Use untpd.Tree instead of tpd.Tree for SelectionRangeProvider (#22702)
rochala May 6, 2025
c85982c
Fix incorrect warning on type ascription for backquoted identifiers i…
nox213 May 2, 2025
9b060ec
Handle comparing with TypeVar in mergeRefinedOrApplied
DolphinChips May 7, 2025
47f76b8
Remove premature, brittle caching in lint
som-snytt Apr 30, 2025
c5d5214
REPL wrapper is not ctx.outer
som-snytt Apr 30, 2025
9bee756
Improve checking LHS of Assign (#22977)
som-snytt May 7, 2025
5bbd005
Compare TypeVar and TypeParamRef in mergeRefinedOrApplied (#23045)
noti0na1 May 7, 2025
3342b6b
chore: deprecate scala.annotation.transparentTrait
hamzaremmal May 7, 2025
c49ff71
patvar: adjust caret in error message
nox213 May 7, 2025
2e3c803
Do not handle `null` in `StringToExpr`
mbovel May 8, 2025
a7d15b4
chore: deprecate `scala.annotation.transparentTrait` (#23116)
odersky May 9, 2025
7d8e124
Revert "chore: deprecate `scala.annotation.transparentTrait`"
hamzaremmal May 9, 2025
71b1101
Forbid `StringConstant(null)` (#23064)
mbovel May 9, 2025
c3642c0
Revert "chore: deprecate `scala.annotation.transparentTrait`" (#23129)
hamzaremmal May 9, 2025
f784625
bugfix: Fix enumeration issues when Value is imported (#23124)
tgodzik May 10, 2025
39b2f37
Remove unnecessary `^` in capture set syntax.
noti0na1 Mar 5, 2025
f7f2967
Tight the condition for retrying `InCaptureSet`
noti0na1 Mar 5, 2025
1db01aa
Forget to reuse the bit
noti0na1 Mar 5, 2025
eeeeb33
New capture-vars syntax, "higher-kinds" style
bracevac Apr 29, 2025
24e8ecc
New Syntax for Capture Variables and Explicit Capture Polymorphism v3…
odersky May 12, 2025
1043d58
Bump VirtusLab/scala-cli-setup from 1.7.1 to 1.8.0
dependabot[bot] May 12, 2025
e52986c
Bump VirtusLab/scala-cli-setup from 1.7.1 to 1.8.0 (#23140)
hamzaremmal May 12, 2025
c64905f
Record level of current owner when creating Fresh instances
odersky May 1, 2025
b4fff3a
Don't increase symLevel for blocks
odersky May 1, 2025
2352c95
Don't allow Fresh to subsume TypeParamRefs
odersky May 1, 2025
2953d64
Introduce QualifiedCapability extractor
odersky May 2, 2025
14e992c
Refactor printing of capturing types and function types
odersky May 2, 2025
11ca325
Explain root capabilities in error messages
odersky May 3, 2025
4705a47
More detailed explanations where Fresh instances come from
odersky May 3, 2025
6df16c8
Refactor: Instead of purpose string, use Origin enum
odersky May 4, 2025
b005179
Implement level checking for Fresh roots
odersky May 4, 2025
c9683ac
Disambiguate and explain override error messages
odersky May 5, 2025
b3531fc
Fix root treatment of parameterless methods
odersky May 5, 2025
fce0fd4
Turn level checking on under useFreshLevels config option
odersky May 5, 2025
33069c1
Tweak printing in MessagePrinter
odersky May 6, 2025
23bb534
Fix levelOK when root.Result variables are added to capture set varia…
odersky May 6, 2025
f2fbfc0
Don't elide capture sets of capability classes in most cases
odersky May 7, 2025
9f0527d
Tighten level checking
odersky May 7, 2025
0fcd1ab
Allow Fresh instances in disallowRootCapability
odersky May 8, 2025
802ae17
Retrigger CI with [test_non_bootstrapped]
WojciechMazur May 5, 2025
2f135cc
Address review comments
odersky May 12, 2025
d9adc0f
Use level checking for Fresh instances (#23101)
odersky May 13, 2025
e5a9355
improvement: Simplify match types when possible (#23146)
tgodzik May 13, 2025
3a59413
Don't StackOverflow when printing RecursiveType structure.
TomasMikula Mar 22, 2025
9e18bfe
Improve Unit ascription escape hatch
som-snytt May 13, 2025
004579e
Disallow empty parameter clauses in `extension` definition
DolphinChips May 12, 2025
c483125
Stop creating automatic backport PR from language-reference-stable to…
WojciechMazur May 14, 2025
605081b
[ci]: Stop creating automatic backport PR from `language-reference-st…
WojciechMazur May 14, 2025
16a67dc
Don't StackOverflow when printing RecursiveType structure. (#22859)
jchyb May 14, 2025
fbd1eeb
Remove some unsafe nulls from the compiler
noti0na1 May 14, 2025
fb4c8e1
Ensure all capture variables carry the attachment
bracevac May 14, 2025
99db4d2
Change asInstanceOf to nullable type; remove some .nn
noti0na1 May 14, 2025
eb269c8
Removed some more .nn
noti0na1 May 14, 2025
da9cc38
Use more flexible types in dotty (#21608)
noti0na1 May 14, 2025
a553986
Ensure all capture variables carry the attachment (#23162)
bracevac May 14, 2025
a77aa83
chore: bump sbt-develocity to 1.2.2-rc1
hamzaremmal May 15, 2025
dfabe4f
Regression tests (#22521)
som-snytt May 15, 2025
23469a1
chore: bump sbt-develocity to 1.2.2-rc1 (#23166)
hamzaremmal May 15, 2025
5bf78de
Bump Scala CLI to v1.8.0 (was v1.7.1)
Gedochao May 15, 2025
382b229
Improve Unit ascription escape hatch (#23147)
sjrd May 15, 2025
76bd5c7
Bump Scala CLI to v1.8.0 (was v1.7.1) (#23168)
hamzaremmal May 15, 2025
c481e91
Update bug issue template (#23148)
kubukoz May 15, 2025
15ca809
early work
rochala Oct 21, 2024
481342c
Clean tests
rochala Dec 11, 2024
4930e3d
Fix code actions + remove unused imports
rochala Dec 22, 2024
2edd35c
Add and fix tests
rochala Dec 23, 2024
991e1c1
Remove illegal setting
rochala Dec 23, 2024
35b6738
Cancellation
rochala Apr 3, 2025
c3c4bba
Further progress on cancellation
rochala May 16, 2025
5e7c412
fixes after rebasing
rochala May 16, 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
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
46a26945a172429740ebdd1fc83517130670080b
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
24 changes: 19 additions & 5 deletions .github/ISSUE_TEMPLATE/bug.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,33 @@ assignees: ''

## Compiler version

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

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

## Minimized code

<!--
This code should be self contained, compilable (with possible failures) and as small as possible.

Ideally, we should be able to just copy this code in a file and run `scalac` (and maybe `scala`) to reproduce the issue.
Ideally, we should be able to just copy this code to a file and run `scalac` (and maybe `scala`) to reproduce the issue.

If the code has external dependencies, please provide the Scala CLI directives (or SBT/other build tool configuration) that describe them.
Also note that it's easier and faster for the maintenance team to address issues minimised to reproduce bugs without external dependencies.

It's most convenient to also include `using` directives for the Scala version that demonstrates the problem,
any compiler command-line options, as well as dependencies. An example is provided.

It's also fine to paste the transcript of a REPL session. Note that some bugs may be specific to the REPL.
-->

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

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

## Output
Expand Down
375 changes: 50 additions & 325 deletions .github/workflows/ci.yaml

Large diffs are not rendered by default.

19 changes: 0 additions & 19 deletions .github/workflows/language-reference.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,22 +70,3 @@ jobs:
fi
cd ..

backport-to-main:
name: Create pull request with backport to main
permissions:
pull-requests: write # for repo-sync/pull-request to create a PR
runs-on: ubuntu-latest
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
steps:
- uses: actions/checkout@v4
- uses: repo-sync/pull-request@v2
with:
destination_branch: main
pr_label: area:documentation
pr_title: Sync with the stable documentation branch
pr_body: |
This pull request is syncing the main with changes from language-reference-stable.

It was created automatically after ${{ github.event.head_commit.id }} by @${{ github.event.head_commit.author.username }}
pr_assignee: ${{ github.event.head_commit.author.username }}

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

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

steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: coursier/cache-action@v6
- uses: VirtusLab/scala-cli-setup@v1.5.4
- uses: VirtusLab/scala-cli-setup@v1.8.0
- 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@2800d4359ae097a99afea7e0370f0c6e726182a4
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
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
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
4 changes: 2 additions & 2 deletions .jvmopts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
-Xss1m
-Xms512m
-Xmx4096m
-Xms1024m
-Xmx8192m
-XX:MaxInlineLevel=35
-XX:ReservedCodeCacheSize=512m
19 changes: 10 additions & 9 deletions NOTICE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Dotty (https://dotty.epfl.ch)
Copyright 2012-2024 EPFL
Copyright 2012-2024 Lightbend, Inc.
Scala 3 (https://www.scala-lang.org)
Copyright 2012-2025 EPFL
Copyright 2012-2025 Lightbend, Inc. dba Akka

Licensed under the Apache License, Version 2.0 (the "License"):
http://www.apache.org/licenses/LICENSE-2.0
Expand All @@ -11,12 +11,13 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

The dotty compiler frontend has been developed since November 2012 by Martin
Odersky. It is expected and hoped for that the list of contributors to the
codebase will grow quickly. Dotty draws inspiration and code from the original
Scala compiler "nsc", which is developed at scala/scala [1].
The Scala 3 compiler is also known as Dotty. The Dotty compiler
frontend has been developed since November 2012 by Martin Odersky. It
is expected and hoped for that the list of contributors to the
codebase will grow quickly. Dotty draws inspiration and code from the
original Scala 2 compiler "nsc", which is still developed at scala/scala [1].

The majority of the dotty codebase is new code, with the exception of the
The majority of the Dotty codebase is new code, with the exception of the
components mentioned below. We have for each component tried to come up with a
list of the original authors in the scala/scala [1] codebase. Apologies if some
major authors were omitted by oversight.
Expand All @@ -28,7 +29,7 @@ major authors were omitted by oversight.

* dotty.tools.dotc.classpath: The classpath handling is taken mostly as is
from scala/scala [1]. The original authors were Grzegorz Kossakowski,
Michał Pociecha, Lukas Rytz, Jason Zaugg and others.
Michał Pociecha, Lukas Rytz, Jason Zaugg and others.

* dotty.tools.dotc.config: The configuration components were adapted and
extended from scala/scala [1]. The original sources were authored by Paul
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