@@ -1446,7 +1446,7 @@ open class KotlinFileExtractor(
14461446 return false
14471447 }
14481448 if (targetPkg.fqName.asString() != pkgName) {
1449- verboseln(" No match as class name is ${targetPkg.fqName.asString()} not $pkgName " )
1449+ verboseln(" No match as package name is ${targetPkg.fqName.asString()} not $pkgName " )
14501450 return false
14511451 }
14521452 verboseln(" Match" )
@@ -1520,35 +1520,30 @@ open class KotlinFileExtractor(
15201520 val type = useType(c.type)
15211521 tw.writeExprs_addexpr(id, type.javaResult.id, type.kotlinResult.id, parent, idx)
15221522 binopDisp(id)
1523- id
15241523 }
15251524 c.origin == MINUS && isFunction(" kotlin" , " Int" , " minus" ) -> {
15261525 val id = tw.getFreshIdLabel<DbSubexpr >()
15271526 val type = useType(c.type)
15281527 tw.writeExprs_subexpr(id, type.javaResult.id, type.kotlinResult.id, parent, idx)
15291528 binopDisp(id)
1530- id
15311529 }
15321530 c.origin == DIV && isFunction(" kotlin" , " Int" , " div" ) -> {
15331531 val id = tw.getFreshIdLabel<DbDivexpr >()
15341532 val type = useType(c.type)
15351533 tw.writeExprs_divexpr(id, type.javaResult.id, type.kotlinResult.id, parent, idx)
15361534 binopDisp(id)
1537- id
15381535 }
15391536 c.origin == PERC && isFunction(" kotlin" , " Int" , " rem" ) -> {
15401537 val id = tw.getFreshIdLabel<DbRemexpr >()
15411538 val type = useType(c.type)
15421539 tw.writeExprs_remexpr(id, type.javaResult.id, type.kotlinResult.id, parent, idx)
15431540 binopDisp(id)
1544- id
15451541 }
15461542 c.origin == EQEQ && isFunction(" kotlin.internal.ir" , null , " EQEQ" ) -> {
15471543 val id = tw.getFreshIdLabel<DbEqexpr >()
15481544 val type = useType(c.type)
15491545 tw.writeExprs_eqexpr(id, type.javaResult.id, type.kotlinResult.id, parent, idx)
15501546 binop(id)
1551- id
15521547 }
15531548/*
15541549TODO
@@ -1559,36 +1554,31 @@ TODO
15591554 tw.writeExprs_neexpr(id, type.javaResult.id, type.kotlinResult.id, parent, idx)
15601555 tw.writeHasLocation(id, locId)
15611556 tw.writeCallableEnclosingExpr(id, callable)
1562- id
15631557 }
15641558*/
15651559 c.origin == LT && isFunction(" kotlin.internal.ir" , null , " less" ) -> {
15661560 val id = tw.getFreshIdLabel<DbLtexpr >()
15671561 val type = useType(c.type)
15681562 tw.writeExprs_ltexpr(id, type.javaResult.id, type.kotlinResult.id, parent, idx)
15691563 binop(id)
1570- id
15711564 }
15721565 c.origin == LTEQ && isFunction(" kotlin.internal.ir" , null , " lessOrEqual" ) -> {
15731566 val id = tw.getFreshIdLabel<DbLeexpr >()
15741567 val type = useType(c.type)
15751568 tw.writeExprs_leexpr(id, type.javaResult.id, type.kotlinResult.id, parent, idx)
15761569 binop(id)
1577- id
15781570 }
15791571 c.origin == GT && isFunction(" kotlin.internal.ir" , null , " greater" ) -> {
15801572 val id = tw.getFreshIdLabel<DbGtexpr >()
15811573 val type = useType(c.type)
15821574 tw.writeExprs_gtexpr(id, type.javaResult.id, type.kotlinResult.id, parent, idx)
15831575 binop(id)
1584- id
15851576 }
15861577 c.origin == GTEQ && isFunction(" kotlin.internal.ir" , null , " greaterOrEqual" ) -> {
15871578 val id = tw.getFreshIdLabel<DbGeexpr >()
15881579 val type = useType(c.type)
15891580 tw.writeExprs_geexpr(id, type.javaResult.id, type.kotlinResult.id, parent, idx)
15901581 binop(id)
1591- id
15921582 }
15931583 else -> {
15941584 val id = tw.getFreshIdLabel<DbMethodaccess >()
@@ -1602,7 +1592,6 @@ TODO
16021592
16031593 // type arguments at index -2, -3, ...
16041594 extractTypeArguments(c, id, callable, - 2 , true )
1605- id
16061595
16071596 val dr = c.dispatchReceiver
16081597 if (dr != null ) {
0 commit comments