Hi, I've a strange error, If I had this code to my...
# javascript
m
Hi, I've a strange error, If I had this code to my existing Kotlin code :
Copy code
doc.data()!!.get("label").toString()
(get data from firebase firestore) Compiler add these lines (with others but seem good for me) :
Copy code
// After use strict
var $$importsForInline$$ = _.$$importsForInline$$ || (_.$$importsForInline$$ = {});
// At the end
$$importsForInline$$.index = _;
When I try to start the node, I got an error message
Maximum call stack size exceeded
If I remove these 2 lines, it works perfectly. I don't see why I got these lines, can you help me ?
b
they are generated for Kotlin inliner
is anything from provided example inline function?
Could you share your project?
(Maybe privately)
m
@bashor Sorry, I don't see your message. The source code is here : https://github.com/m-maillot/FirebaseFunctionToDo and the code which generate these lines is here : https://github.com/m-maillot/FirebaseFunctionToDo/blob/master/src/main/kotlin/com/todo/Index.kt#L36 The project is very light, if you have any question, don't hesitate.
b
@mmaillot thank you! We’ll take a look to it
Could you please provide some instruction to reproduce and feel free to file an issue
Actually, I don’t know what I have to do after build