diff --git a/packages/nitrogen/src/syntax/kotlin/FbjniHybridObject.ts b/packages/nitrogen/src/syntax/kotlin/FbjniHybridObject.ts index c40c36c9..9a6dbc96 100644 --- a/packages/nitrogen/src/syntax/kotlin/FbjniHybridObject.ts +++ b/packages/nitrogen/src/syntax/kotlin/FbjniHybridObject.ts @@ -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)