aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compiler/src/dotty/tools/dotc/ast/Desugar.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/src/dotty/tools/dotc/ast/Desugar.scala b/compiler/src/dotty/tools/dotc/ast/Desugar.scala
index 2722d91eb..013516cd5 100644
--- a/compiler/src/dotty/tools/dotc/ast/Desugar.scala
+++ b/compiler/src/dotty/tools/dotc/ast/Desugar.scala
@@ -432,7 +432,7 @@ object desugar {
if (targs.isEmpty) tycon else AppliedTypeTree(tycon, targs)
}
def product =
- if (arity > Definitions.MaxTupleArity) scalaDot(nme.Product.toTypeName)
+ if (arity > Definitions.MaxTupleArity) scalaDot(str.Product.toTypeName)
else productConstr(arity)
// Case classes and case objects get Product/ProductN parents