[IR] KotlinLikeDumper: minor, update some comments
This commit is contained in:
committed by
teamcityserver
parent
e94528fe0d
commit
76e959ef8c
@@ -115,6 +115,7 @@ private class KotlinLikeDumper(val p: Printer, val options: KotlinLikeDumpOption
|
|||||||
// TODO omit Companion name for companion objects?
|
// TODO omit Companion name for companion objects?
|
||||||
// TODO thisReceiver
|
// TODO thisReceiver
|
||||||
// TODO primary constructor?
|
// TODO primary constructor?
|
||||||
|
// TODO special support for objects
|
||||||
|
|
||||||
declaration.printlnAnnotations()
|
declaration.printlnAnnotations()
|
||||||
p.print("")
|
p.print("")
|
||||||
@@ -1023,10 +1024,9 @@ private class KotlinLikeDumper(val p: Printer, val options: KotlinLikeDumpOption
|
|||||||
}
|
}
|
||||||
|
|
||||||
override fun visitFunctionExpression(expression: IrFunctionExpression, data: IrDeclaration?) {
|
override fun visitFunctionExpression(expression: IrFunctionExpression, data: IrDeclaration?) {
|
||||||
// TODO support
|
|
||||||
// TODO omit the name when it's possible
|
// TODO omit the name when it's possible
|
||||||
// TODO Is there a difference between `<anonymous>` and `<no name provided>`?
|
// TODO Is there a difference between `<anonymous>` and `<no name provided>`?
|
||||||
// TODO Is name of function used somehere? How it's important?
|
// TODO Is name of function used somewhere? How it's important?
|
||||||
// TODO Use lambda syntax when possible
|
// TODO Use lambda syntax when possible
|
||||||
// TODO don't print visibility?
|
// TODO don't print visibility?
|
||||||
p.withholdIndentOnce()
|
p.withholdIndentOnce()
|
||||||
@@ -1336,11 +1336,13 @@ private class KotlinLikeDumper(val p: Printer, val options: KotlinLikeDumpOption
|
|||||||
|
|
||||||
override fun visitSuspendableExpression(expression: IrSuspendableExpression, data: IrDeclaration?) {
|
override fun visitSuspendableExpression(expression: IrSuspendableExpression, data: IrDeclaration?) {
|
||||||
// TODO support
|
// TODO support
|
||||||
|
// TODO no test
|
||||||
super.visitSuspendableExpression(expression, data)
|
super.visitSuspendableExpression(expression, data)
|
||||||
}
|
}
|
||||||
|
|
||||||
override fun visitSuspensionPoint(expression: IrSuspensionPoint, data: IrDeclaration?) {
|
override fun visitSuspensionPoint(expression: IrSuspensionPoint, data: IrDeclaration?) {
|
||||||
// TODO support
|
// TODO support
|
||||||
|
// TODO no test
|
||||||
super.visitSuspensionPoint(expression, data)
|
super.visitSuspensionPoint(expression, data)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user