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 {
1007
1007
case _ : ValDef | _ : PatDef | _ : DefDef => true
1008
1008
case stat : ModuleDef =>
1009
1009
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 )
1011
1011
case _ => false
1012
1012
}
1013
1013
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