Skip to content

Commit

Permalink
fix: Return local_ref always
Browse files Browse the repository at this point in the history
  • Loading branch information
mrousavy committed Sep 16, 2024
1 parent ccaa130 commit 2b6775e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nitrogen/src/syntax/kotlin/FbjniHybridObject.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ function getFbjniMethodForwardImplementation(

const returnJNI = new KotlinCxxBridgedType(method.returnType)

const returnType = returnJNI.asJniReferenceType('alias')
const returnType = returnJNI.asJniReferenceType('local')
const paramsTypes = method.parameters
.map((p) => {
const bridge = new KotlinCxxBridgedType(p.type)
Expand Down

0 comments on commit 2b6775e

Please sign in to comment.