Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 6cfc285

Browse files
Fix IU plugin compilation (#1866)
1 parent 88808fc commit 6cfc285

File tree

1 file changed

+2
-6
lines changed
  • utbot-js/src/main/kotlin/framework/codegen/model/constructor/visitor

1 file changed

+2
-6
lines changed

‎utbot-js/src/main/kotlin/framework/codegen/model/constructor/visitor/CgJsRenderer.kt

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import org.utbot.framework.codegen.domain.models.CgExpression
2222
import org.utbot.framework.codegen.domain.models.CgFieldAccess
2323
import org.utbot.framework.codegen.domain.models.CgForLoop
2424
import org.utbot.framework.codegen.domain.models.CgFormattedString
25+
import org.utbot.framework.codegen.domain.models.CgFrameworkUtilMethod
2526
import org.utbot.framework.codegen.domain.models.CgGetJavaClass
2627
import org.utbot.framework.codegen.domain.models.CgGetKotlinClass
2728
import org.utbot.framework.codegen.domain.models.CgGetLength
@@ -39,7 +40,6 @@ import org.utbot.framework.codegen.domain.models.CgStaticsRegion
3940
import org.utbot.framework.codegen.domain.models.CgSwitchCase
4041
import org.utbot.framework.codegen.domain.models.CgSwitchCaseLabel
4142
import org.utbot.framework.codegen.domain.models.CgTestMethod
42-
import org.utbot.framework.codegen.domain.models.CgThrowStatement
4343
import org.utbot.framework.codegen.domain.models.CgTypeCast
4444
import org.utbot.framework.codegen.domain.models.CgVariable
4545
import org.utbot.framework.codegen.renderer.CgAbstractRenderer
@@ -282,10 +282,6 @@ internal class CgJsRenderer(context: CgRendererContext, printer: CgPrinter = CgP
282282
visit(element as CgMethod)
283283
}
284284

285-
override fun visit(element: CgThrowStatement) {
286-
// TODO: Should we render throw statement right here?
287-
}
288-
289285
override fun visit(element: CgClassBody) {
290286
// render regions for test methods
291287
for ((i, region) in (element.methodRegions + element.nestedClassRegions).withIndex()) {
@@ -415,4 +411,4 @@ internal class CgJsRenderer(context: CgRendererContext, printer: CgPrinter = CgP
415411
.replace("$", "\\$")
416412
.replace("\\f", "\\u000C")
417413
.replace("\\xxx", "\\\u0058\u0058\u0058")
418-
}
414+
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /