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 899c59b + 1d39644 commit 385d698Copy full SHA for 385d698
compiler/src/dotty/tools/dotc/ast/tpd.scala
@@ -42,7 +42,7 @@ object tpd extends Trees.Instance[Type] with TypedTreeInfo {
42
Super(qual, if (mixName.isEmpty) untpd.EmptyTypeIdent else untpd.Ident(mixName), inConstrCall, mixinClass)
43
44
def Apply(fn: Tree, args: List[Tree])(implicit ctx: Context): Apply = {
45
- assert(fn.isInstanceOf[RefTree] || fn.isInstanceOf[GenericApply[_]])
+ assert(fn.isInstanceOf[RefTree] || fn.isInstanceOf[GenericApply[_]] || fn.isInstanceOf[Inlined])
46
ta.assignType(untpd.Apply(fn, args), fn, args)
47
}
48
0 commit comments