@@ -732,7 +732,9 @@ extension _BridgedSwiftStruct {
732732
733733extension _BridgedSwiftEnumNoPayload where Self: RawRepresentable , RawValue == String {
734734 // MARK: ImportTS
735- @_spi ( BridgeJS) public consuming func bridgeJSWithLoweredParameter< T> ( _ body: ( Int32 , Int32 ) -> T ) -> T { rawValue. bridgeJSWithLoweredParameter ( body) }
735+ @_spi ( BridgeJS) public consuming func bridgeJSWithLoweredParameter< T> ( _ body: ( Int32 , Int32 ) -> T ) -> T {
736+ rawValue. bridgeJSWithLoweredParameter ( body)
737+ }
736738
737739 @_spi ( BridgeJS) public static func bridgeJSLiftReturn( _ id: Int32 ) -> Self {
738740 Self ( rawValue: . bridgeJSLiftReturn( id) ) !
@@ -1502,7 +1504,9 @@ extension _BridgedAsOptional where Wrapped == Bool {
15021504}
15031505
15041506extension _BridgedAsOptional where Wrapped == String {
1505- @_spi ( BridgeJS) @_transparent public consuming func bridgeJSWithLoweredParameter< T> ( _ body: ( Int32 , Int32 , Int32 ) -> T ) -> T {
1507+ @_spi ( BridgeJS) @_transparent public consuming func bridgeJSWithLoweredParameter< T> (
1508+ _ body: ( Int32 , Int32 , Int32 ) -> T
1509+ ) -> T {
15061510 switch asOptional {
15071511 case . none:
15081512 return body ( 0 , 0 , 0 )
@@ -1683,7 +1687,9 @@ extension _BridgedAsOptional where Wrapped: _BridgedSwiftCaseEnum {
16831687
16841688extension _BridgedAsOptional
16851689where Wrapped: _BridgedSwiftEnumNoPayload , Wrapped: RawRepresentable , Wrapped. RawValue == String {
1686- @_spi ( BridgeJS) @_transparent public consuming func bridgeJSWithLoweredParameter< T> ( _ body: ( Int32 , Int32 , Int32 ) -> T ) -> T {
1690+ @_spi ( BridgeJS) @_transparent public consuming func bridgeJSWithLoweredParameter< T> (
1691+ _ body: ( Int32 , Int32 , Int32 ) -> T
1692+ ) -> T {
16871693 switch asOptional {
16881694 case . none:
16891695 return body ( 0 , 0 , 0 )
0 commit comments