From 92a9d05fd64ac97140aa0f01214c4738526383c3 Mon Sep 17 00:00:00 2001 From: Olivier Blanvillain Date: Tue, 11 Apr 2017 13:15:02 +0200 Subject: Fix master compilation --- compiler/src/dotty/tools/dotc/ast/Desugar.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3