Skip to content

Commit 9d031e2

Browse files
Apply suggestions from code review
Co-authored-by: Matt Bovel <[email protected]>
1 parent d71ca06 commit 9d031e2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/src/dotty/tools/dotc/ast/tpd.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1520,7 +1520,7 @@ object tpd extends Trees.Instance[Type] with TypedTreeInfo {
15201520
}
15211521
}
15221522

1523-
/** Creates the tuple containing the elemets */
1523+
/** Creates the tuple containing the given elements */
15241524
def tupleTree(elems: List[Tree])(using Context): Tree = {
15251525
val arity = elems.length
15261526
if arity == 0 then

compiler/src/dotty/tools/dotc/inlines/Inlines.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ object Inlines:
413413
return Intrinsics.codeOf(arg, call.srcPos)
414414
case _ =>
415415

416-
// Special handling of `constValue[T]`, `constValueOpt[T]`, `constValueTuple[T]`, and `summonInline[T]`
416+
// Special handling of `constValue[T]`, `constValueOpt[T]`, `constValueTuple[T]`, `summonInline[T]` and `summonAll[T]`
417417
if callTypeArgs.length == 1 then
418418

419419
def constValueOrError(tpe: Type): Tree =

0 commit comments

Comments
 (0)