Permalink
Browse files

Fixed broken primary constructor printing.

  • Loading branch information...
1 parent 2249209 commit b85d650af6a3658d7dff6fab7e432909d5ca57c4 @Alefas Alefas committed Jan 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/scalap/scala/tools/scalap/scalax/rules/scalasig/ScalaSigPrinter.scala
View
2 src/scalap/scala/tools/scalap/scalax/rules/scalasig/ScalaSigPrinter.scala
@@ -506,7 +506,7 @@ class ScalaSigPrinter(stream: PrintStream, verbosity: Verbosity) {
case MethodType(resultType, _) => toString(resultType, sep)
case PolyType(typeRef, symbols) => typeParamString(symbols) + toString(typeRef, sep)
- case PolyTypeWithCons(typeRef, symbols, cons) => typeParamString(symbols) + processName(cons) + toString(typeRef, sep)
+ case PolyTypeWithCons(typeRef, symbols, cons) => typeParamString(symbols) + cons + toString(typeRef, sep)
case AnnotatedType(typeRef, attribTreeRefs) => {
toString(typeRef, sep)
}

0 comments on commit b85d650

Please sign in to comment.