You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sonnenschein (sonnenschein) said (edited on Aug 16, 2011 11:48:43 AM UTC):
Sorry, but this issue is not resolved in 2.9.1.RC2.
Moreover, default values are sometimes not printed at all. You will find a test below.
Thanks, Peter
Please check for instance:
trait Test {
def even(i: Int) = i % 2 == 0
def max (implicit str : String = "A",
flt: Int => Boolean = even) = 100
}
object Test {
def from[N](nodeStreams: Seq[List[N]] = Seq.empty[List[N]],
nodes: Iterable[N] = Seq.empty[N])
{}
}
// "A" and even are placed on new lines
// default values Seq.empty... are not printed
@harrah said:
While I sympathize with the difficulty determining what version contains a given fix, the current practice is to close a bug when fixed in trunk. This fix went into RC3.
The other issue you mentioned has existed since 2.8.1 and should be a separate bug.
When using default arguments, the method parameter list includes in the browser lots of new lines thus scattering the output. For instance,
is formatted to
Imo the default arguments should be on the same line as =...
The text was updated successfully, but these errors were encountered: