File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
compiler/src/dotty/tools/dotc/ast Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -1007,7 +1007,7 @@ object desugar {
10071007 case _ : ValDef | _ : PatDef | _ : DefDef => true
10081008 case stat : ModuleDef =>
10091009 stat.mods.is(ImplicitOrImplied ) || opaqueNames.contains(stat.name.stripModuleClassSuffix.toTypeName)
1010- case stat : TypeDef => ! stat.isClassDef || stat.mods.is(Implicit )
1010+ case stat : TypeDef => ! stat.isClassDef || stat.mods.is(ImplicitOrImplied )
10111011 case _ => false
10121012 }
10131013 val (nestedStats, topStats) = pdef.stats.partition(needsObject)
Original file line number Diff line number Diff line change 1+ trait RunDSL
2+
3+ val rdsl = new RunDSL {}
4+
5+ implied RunNNFExpr [B ] for RunDSL = rdsl
6+
7+ implied RunNNFImpl [B ] for RunDSL {
8+ // override def runDSL(b: NNF[B]): B = b.terminal
9+ }
You can’t perform that action at this time.
0 commit comments