diff options
-rw-r--r-- | src/compiler/scala/tools/nsc/symtab/Types.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/symtab/Types.scala b/src/compiler/scala/tools/nsc/symtab/Types.scala index 4e887d93ed..ffca860e18 100644 --- a/src/compiler/scala/tools/nsc/symtab/Types.scala +++ b/src/compiler/scala/tools/nsc/symtab/Types.scala @@ -1097,7 +1097,7 @@ trait Types requires SymbolTable { if (isFunctionType(this)) return args.init.mkString("(", ", ", ")") + " => " + args.last if (isTupleType(this)) - return args.mkString("{", ", ", if (args.length == 1) ",}" else "}") + return args.mkString("(", ", ", if (args.length == 1) ",)" else ")") } val str = (pre.prefixString + sym.nameString + (if (args.isEmpty) "" else args.mkString("[", ",", "]"))) |