Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion compiler/src/dotty/tools/backend/jvm/scalaPrimitives.scala
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ class DottyPrimitives(ictx: Context) {
* operation is an array get/set, we inspect the type of the receiver
* to demux the operation.
*
* @param fun The method symbol
* @param app The method symbol
* @param tpe The type of the receiver object. It is used only for array
* operations
*/
Expand Down
2 changes: 1 addition & 1 deletion compiler/src/dotty/tools/dotc/cc/SepCheck.scala
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ class SepCheck(checker: CheckCaptures.CheckerAPI) extends tpd.TreeTraverser:

/** Report a failure where a capability is consumed in a loop.
* @param ref the capability
* @param loc the position where the capability was consumed
* @param pos the position where the capability was consumed
*/
def consumeInLoopError(ref: Capability, pos: SrcPos)(using Context): Unit =
report.error(
Expand Down
2 changes: 1 addition & 1 deletion compiler/src/dotty/tools/dotc/cc/Synthetics.scala
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ object Synthetics:

/** Transform the type of a method either to its type under capture checking
* or back to its previous type.
* @param sym The method to transform @pre needsTransform(sym) must hold.
* @param symd The method to transform @pre needsTransform(sym) must hold.
* @param info The possibly already mapped info of sym
*/
def transform(symd: SymDenotation, info: Type)(using Context): SymDenotation =
Expand Down
1 change: 0 additions & 1 deletion compiler/src/dotty/tools/dotc/inlines/Inlines.scala
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ object Inlines:
* inline depth is exceeded.
*
* @param tree The call to inline
* @param pt The expected type of the call.
* @return An `Inlined` node that refers to the original call and the inlined bindings
* and body that replace it.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,6 @@ abstract class AccessProxies {
* access with a reference to the accessor.
*
* @param reference The original reference to the non-public symbol
* @param onLHS The reference is on the left-hand side of an assignment
*/
def useAccessor(reference: RefTree)(using Context): Tree = {
val accessed = reference.symbol.asTerm
Expand Down
2 changes: 1 addition & 1 deletion compiler/src/dotty/tools/dotc/transform/init/Objects.scala
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ class Objects(using Context @constructorOnly):
/**
* The main procedure for searching through the outer chain
* @param target The symbol to search for if `bySymbol = true`; otherwise the method symbol of the target environment
* @param scopeSet The set of scopes as starting point
* @param envSet The set of scopes as starting point
* @return The scopes that contains symbol `target` or whose method is `target`,
* and the value for `C.this` where C is the enclosing class of the result scopes
*/
Expand Down
2 changes: 1 addition & 1 deletion compiler/src/dotty/tools/dotc/transform/patmat/Space.scala
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ object SpaceEngine {

/** Is this an `'{..}` or `'[..]` irrefutable quoted patterns?
* @param body The body of the quoted pattern
* @param bodyPt The scrutinee body type
* @param pt The scrutinee body type
*/
def isIrrefutableQuotePattern(pat: QuotePattern, pt: Type)(using Context): Boolean = {
if pat.body.isType then pat.bindings.isEmpty && pt =:= pat.tpe
Expand Down
Loading