diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/dotty/tools/dotc/transform/Erasure.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/transform/Erasure.scala b/src/dotty/tools/dotc/transform/Erasure.scala index 8d9ebfdee..d0c51c8b9 100644 --- a/src/dotty/tools/dotc/transform/Erasure.scala +++ b/src/dotty/tools/dotc/transform/Erasure.scala @@ -266,7 +266,7 @@ object Erasure { val statsFlatten = Trees.flatten(stats) val stats1 = super.typedStats(statsFlatten, exprOwner) - if (ctx.owner.isClass) addBridges(statsFlatten, stats1)(ctx) else stats1 + if (ctx.owner.isClass) stats1:::addBridges(statsFlatten, stats1)(ctx) else stats1 } // this implementation doesn't check for bridge clashes with value types! |