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 {
264
264
// Constructors always have one leading non-implicit parameter list.
265
265
// Empty list is inserted for constructors where the first parameter list is implicit.
266
266
//
267
- // Therefore, we need to ignore the first empty parameter block .
267
+ // Therefore, we need to ignore the first empty argument list .
268
268
// This is needed for the test tests/neg/i12344.scala
269
269
//
270
270
// see NamerOps.normalizeIfConstructor
271
271
//
272
272
if args == Nil
273
- && fn.symbol.isConstructor
274
273
&& ! fn.isInstanceOf [Apply ]
275
274
&& app.tpe.isImplicitMethod
275
+ && fn.symbol.isConstructor
276
276
then meth
277
277
else spliceMeth(meth, fn).appliedToArgs(args)
278
278
case TypeApply (fn, targs) =>
You can’t perform that action at this time.
0 commit comments