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
Currently parameter wrapping depends on the number of parameters and not on the length of the code, which is something we can improve. The difficult part is figuring out the length of the parameter code before it's emitted.
package com.squareup.tacos
import kotlin.Unit
fun bar(f: (
Unit,
Unit,
Unit,
Unit,
Unit,
Unit,
Unit,
Unit,
Unit,
Unit,
Unit,
Unit,
Unit,
Unit,
Unit,
Unit,
Unit,
Unit,
Unit,
Unit
) -> Unit) {
}
outputs:
The text was updated successfully, but these errors were encountered: