diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/dotty/tools/dotc/core/NameOps.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dotty/tools/dotc/core/NameOps.scala b/src/dotty/tools/dotc/core/NameOps.scala index 4d2335bd9..72f89aec3 100644 --- a/src/dotty/tools/dotc/core/NameOps.scala +++ b/src/dotty/tools/dotc/core/NameOps.scala @@ -120,7 +120,7 @@ object NameOps { def lambdaTraitVariances(implicit ctx: Context): List[Int] = { val vs = name.drop(tpnme.hkLambdaPrefix.length) - vs.map(c => tpnme.varianceSuffixes.indexOf(c) - 1).toList + vs.toList.map(c => tpnme.varianceSuffixes.indexOf(c) - 1) } /** If the name ends with $nn where nn are |