code |
scala> def foo:Pair[String, Int] = ("", 0)
Exception in thread "main" java.lang.StackOverflowError
at scala.tools.nsc.symtab.Symbols$TypeSymbol.isAliasType(Symbols.scala:1146)
at scala.tools.nsc.symtab.Types$TypeRef.normalize(Types.scala:1203)
at scala.tools.nsc.symtab.Definitions$definitions$.isFunctionType(Definitions.scala:288)
at scala.tools.nsc.symtab.Types$TypeRef.toString(Types.scala:1260)
at java.lang.String.valueOf(String.java:2827)
at java.lang.StringBuffer.append(StringBuffer.java:219)
at scala.tools.nsc.symtab.Types$TypeRef.normalize(Types.scala:1209)
at scala.tools.nsc.symtab.Definitions$definitions$.isFunctionType(Definitions.scala:288)
at scala.tools.nsc.symtab.Types$TypeRef.toString(Types.scala:1260)
at java.lang.String.valueOf(String.java:2827)
at java.lang.StringBuffer.append(StringBuffer.java:219)
at scala.tools.nsc.symtab.Types$TypeRef.normalize(Types.scala:1209)
at scala.tools.nsc.symtab.Definitions$definitions$.isFunctionType(Definitions.scala:288)
at scala.tools.nsc.symtab.Types$TypeRef.toString(Types.scala:1260)
....
|