From b61799fc1db5ab0c69579679bb58f0b97398f65a Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Tue, 8 Oct 2024 14:26:55 +0100 Subject: [PATCH] KE2: Remove some dead code --- .../kotlin-extractor2/src/main/kotlin/entities/Expression.kt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/java/kotlin-extractor2/src/main/kotlin/entities/Expression.kt b/java/kotlin-extractor2/src/main/kotlin/entities/Expression.kt index 243d52cd7f1..ab259b50e8b 100644 --- a/java/kotlin-extractor2/src/main/kotlin/entities/Expression.kt +++ b/java/kotlin-extractor2/src/main/kotlin/entities/Expression.kt @@ -1466,9 +1466,6 @@ private fun KotlinFileExtractor.extractConstant( t.isLongType -> { // OLD: KE1: Was: exprIdOrFresh(overrideId).also { id -> tw.getFreshIdLabel().also { id -> - if (t == null) { - TODO() - } val type = useType(t) val locId = tw.getLocation(e) tw.writeExprs_longliteral(id, type.javaResult.id, parent, idx) @@ -2327,4 +2324,4 @@ private fun KotlinFileExtractor.extractBreakContinue(e: KtExpressionWithLabel, i tw.writeNamestrings(label, "", id) } } -} \ No newline at end of file +}