Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit df595c0

Browse files
tamasvajksmowton
authored andcommitted
WIP: revert some annotation extraction to get proper tree in printast
1 parent fed770f commit df595c0

3 files changed

Lines changed: 175 additions & 622 deletions

File tree

java/kotlin-extractor/src/main/kotlin/KotlinFileExtractor.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ open class KotlinFileExtractor(
238238
addModifiers(id, "out")
239239
}
240240

241-
extractAnnotations(tp, id)
241+
//extractAnnotations(tp, id)
242242
return id
243243
}
244244
}
@@ -820,7 +820,7 @@ open class KotlinFileExtractor(
820820
extractTypeAccessRecursive(substitutedType, location, id, -1)
821821
}
822822
val syntheticParameterNames = isUnderscoreParameter(vp) || ((vp.parent as? IrFunction)?.let { hasSynthesizedParameterNames(it) } ?: true)
823-
extractAnnotations(vp, id)
823+
//extractAnnotations(vp, id)
824824
return extractValueParameter(id, substitutedType, vp.name.asString(), location, parent, idx, useValueParameter(vp, parentSourceDeclaration), syntheticParameterNames, vp.isVararg, vp.isNoinline, vp.isCrossinline)
825825
}
826826
}
@@ -1360,7 +1360,7 @@ open class KotlinFileExtractor(
13601360

13611361
linesOfCode?.linesOfCodeInDeclaration(f, id)
13621362

1363-
extractAnnotations(f, id)
1363+
//extractAnnotations(f, id)
13641364

13651365
return id
13661366
}

0 commit comments

Comments
 (0)