File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
compiler/src/dotty/tools/dotc/typer Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -264,15 +264,15 @@ object Applications {
264264 // Constructors always have one leading non-implicit parameter list.
265265 // Empty list is inserted for constructors where the first parameter list is implicit.
266266 //
267- // Therefore, we need to ignore the first empty parameter block .
267+ // Therefore, we need to ignore the first empty argument list .
268268 // This is needed for the test tests/neg/i12344.scala
269269 //
270270 // see NamerOps.normalizeIfConstructor
271271 //
272272 if args == Nil
273- && fn.symbol.isConstructor
274273 && ! fn.isInstanceOf [Apply ]
275274 && app.tpe.isImplicitMethod
275+ && fn.symbol.isConstructor
276276 then meth
277277 else spliceMeth(meth, fn).appliedToArgs(args)
278278 case TypeApply (fn, targs) =>
You can’t perform that action at this time.
0 commit comments