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 8787427

Browse files
Fix JS compilation
1 parent c587c68 commit 8787427

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

‎utbot-js/src/main/kotlin/api/JsUtModelConstructor.kt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@ import org.utbot.framework.plugin.api.UtExecutableCallModel
2121
import org.utbot.framework.plugin.api.UtModel
2222
import org.utbot.instrumentation.instrumentation.execution.constructors.UtModelConstructorInterface
2323

24-
class JsUtModelConstructor : UtModelConstructorInterface{
24+
class JsUtModelConstructor {
2525

2626
// TODO SEVERE: Requires substantial expansion to other types
2727
@Suppress("NAME_SHADOWING")
28-
overridefun construct(value: Any?, classId: ClassId): UtModel {
28+
fun construct(value: Any?, classId: ClassId): UtModel {
2929
val classId = classId as JsClassId
3030
if (classId == jsErrorClassId) return UtModel(jsErrorClassId)
3131
return when (value) {

‎utbot-js/src/main/kotlin/framework/codegen/model/constructor/tree/JsCgMethodConstructor.kt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package framework.codegen.model.constructor.tree
22

33
import framework.api.js.JsClassId
44
import org.utbot.framework.codegen.domain.context.CgContext
5+
import org.utbot.framework.codegen.domain.models.CgMethodTestSet
56
import org.utbot.framework.codegen.domain.models.CgTestMethod
67
import org.utbot.framework.codegen.domain.models.CgTestMethodType
78
import org.utbot.framework.codegen.domain.models.CgValue

0 commit comments

Comments
(0)

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