Skip to content

Commit 90c7890

Browse files
committed
Fix typos/editing issues after #4061
1 parent 41bcd12 commit 90c7890

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/src/dotty/tools/dotc/core/Definitions.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -885,7 +885,7 @@ class Definitions {
885885
*/
886886
def isImplicitFunctionClass(cls: Symbol) = scalaClassName(cls).isImplicitFunction
887887

888-
/** Is an ghost function class.
888+
/** Is a ghost function class.
889889
* - GhostFunctionN for N > 0
890890
* - GhostImplicitFunctionN for N > 0
891891
*/

compiler/src/dotty/tools/dotc/typer/Applications.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -781,7 +781,7 @@ trait Applications extends Compatibility { self: Typer with Dynamic =>
781781
}
782782
app match {
783783
case Apply(fun, args) if fun.tpe.widen.isGhostMethod =>
784-
tpd.cpy.Apply(app)(fun = fun, args = args.map(arg => normalizeGhostExpr(arg, "This argument is given to an ghost parameter. ")))
784+
tpd.cpy.Apply(app)(fun = fun, args = args.map(arg => normalizeGhostExpr(arg, "This argument is given to a ghost parameter. ")))
785785
case _ => app
786786
}
787787
}

0 commit comments

Comments
 (0)