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.
1 parent d519682 commit b0ecf93Copy full SHA for b0ecf93
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