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
11 def interpolate(sep: String)(list: List[Array[Byte]]): List[Array[Byte]] = list match {
*12* case Nil => List*()*
13 case List(x) => List(x)
14 case h :: t => h :: sep.getBytes() :: interpolate(sep)(t)
15 }
Line 12 has the parens in red (I guess because the function is never called with an empty list). Of course every call to this function involves this line, because it's the base case of the recursion.
The text was updated successfully, but these errors were encountered:
I'm seeing the following in my coverage report:
Line 12 has the parens in red (I guess because the function is never called with an empty list). Of course every call to this function involves this line, because it's the base case of the recursion.
The text was updated successfully, but these errors were encountered: