Break a list produced by flattenInfix into lines by taking two elements at a time, then appending the terminal.
Break a list produced by flattenInfix into lines by taking two elements at a time, then appending the terminal. If the expression's length is smaller than the threshold specified via plugin parameter, return a single line.
Turn a nested infix type structure into a flat list ::[A, ::[B, C]]] => List(A, ::, B, ::, C)
Turn a nested infix type structure into a flat list ::[A, ::[B, C]]] => List(A, ::, B, ::, C)
Remove duplicates and special cases that should not be shown.
Remove duplicates and special cases that should not be shown.
In some cases, candidates are reported twice, once as Foo.f
and once as
f
. ImpFailReason.equals checks the simple names for identity, which
is suboptimal, but works for 99% of cases.
Special cases are handled in hideImpError
If the args of an applied type constructor are multiline, create separate lines for the constructor name and the closing bracket; else return a single line.
If the args of an applied type constructor are multiline, create separate lines for the constructor name and the closing bracket; else return a single line.
(Since version 2.10.0) Use companionSymbolOf
instead
(Since version 2.10.0) Use companionSymbolOf
instead
(Since version 2.10.0) Use underlyingSymbol instead