Skip to content

Commit 936b5c5

Browse files
committed
fix codegen after rebase
1 parent 494cf88 commit 936b5c5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Plugins/BridgeJS/Tests/BridgeJSToolTests/__Snapshots__/BridgeJSCodegenTests/JSImportModule.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ fileprivate func bjs_moduleAdd_extern(_ lhs: Int32, _ rhs: Int32) -> Int32 {
3131
}
3232

3333
func _$moduleAdd(_ lhs: Int, _ rhs: Int) throws(JSException) -> Int {
34-
let lhsValue = lhs.bridgeJSLowerParameter()
3534
let rhsValue = rhs.bridgeJSLowerParameter()
35+
let lhsValue = lhs.bridgeJSLowerParameter()
3636
let ret = bjs_moduleAdd(lhsValue, rhsValue)
3737
if let error = _swift_js_take_exception() {
3838
throw error
@@ -148,8 +148,8 @@ func _$ModuleCounter_value_get(_ self: JSObject) throws(JSException) -> Int {
148148
}
149149

150150
func _$ModuleCounter_value_set(_ self: JSObject, _ newValue: Int) throws(JSException) -> Void {
151-
let selfValue = self.bridgeJSLowerParameter()
152151
let newValueValue = newValue.bridgeJSLowerParameter()
152+
let selfValue = self.bridgeJSLowerParameter()
153153
bjs_ModuleCounter_value_set(selfValue, newValueValue)
154154
if let error = _swift_js_take_exception() {
155155
throw error

0 commit comments

Comments
 (0)