We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c1b0444 + b0ecf93 commit e8255c9Copy full SHA for e8255c9
compiler/src/dotty/tools/dotc/typer/PrepareInlineable.scala
@@ -80,7 +80,7 @@ object PrepareInlineable {
80
def preTransform(tree: Tree)(using Context): Tree = tree match {
81
case tree: RefTree if needsAccessor(tree.symbol) =>
82
if (tree.symbol.isConstructor) {
83
- report.error("Implementation restriction: cannot use private constructors in inlineinline methods", tree.srcPos)
+ report.error("Implementation restriction: cannot use private constructors in inline methods", tree.srcPos)
84
tree // TODO: create a proper accessor for the private constructor
85
}
86
else useAccessor(tree)
0 commit comments