Skip to content

Commit e8255c9

Browse files
Merge pull request #13480 from dotty-staging/fix-typo-in-error-message
Fix typo
2 parents c1b0444 + b0ecf93 commit e8255c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ object PrepareInlineable {
8080
def preTransform(tree: Tree)(using Context): Tree = tree match {
8181
case tree: RefTree if needsAccessor(tree.symbol) =>
8282
if (tree.symbol.isConstructor) {
83-
report.error("Implementation restriction: cannot use private constructors in inlineinline methods", tree.srcPos)
83+
report.error("Implementation restriction: cannot use private constructors in inline methods", tree.srcPos)
8484
tree // TODO: create a proper accessor for the private constructor
8585
}
8686
else useAccessor(tree)

0 commit comments

Comments
 (0)