[Generator] Rename additionalDoc, put its content before annotations
This commit is contained in:
committed by
Space Team
parent
cd392ebe69
commit
60bbd08569
@@ -146,7 +146,7 @@ class JsPrimitivesGenerator(writer: PrintWriter) : BasePrimitivesGenerator(write
|
||||
|
||||
if (thisKind == PrimitiveType.LONG) {
|
||||
method {
|
||||
additionalDoc = """
|
||||
additionalComments = """
|
||||
This method is used by JavaScript to convert objects of type Long to primitives.
|
||||
This is essential for the JavaScript interop.
|
||||
JavaScript functions that expect `number` are imported in Kotlin as expecting `kotlin.Number`
|
||||
|
||||
Reference in New Issue
Block a user