skip
skip copied to clipboard
`ViewModifiers` with generics fail to build
When having:
struct PerformEquatableBlockingModifier<T: Equatable>: ViewModifier { ... }
I'm getting this on skip android build:
/Users/piercifani/Developer/BSWInterfaceKit/.build/plugins/outputs/bswinterfacekit/BSWInterfaceKit/destination/skipstone/SkipBridgeGenerated/BlockingTask_Bridge.swift:78:93: error: missing argument label 'content:' in call
76 | nonisolated func toTypeErased() -> AnyObject {
77 | let typeErased = PerformEquatableBlockingModifier_TypeErased(self)
78 | typeErased.body = { [unowned typeErased] in (typeErased.genericvalue as! Self).body($0) }
| `- error: missing argument label 'content:' in call
79 | typeErased.Java_initState_taskError = { [unowned typeErased] in (typeErased.genericvalue as! Self).Java_initState_taskError() }
80 | typeErased.Java_syncState_taskError = { [unowned typeErased] in (typeErased.genericvalue as! Self).Java_syncState_taskError(support: $0) }