diff --git a/src/main/kotlin/org/polystat/j2eo/treeMapper/TreeMappings.kt b/src/main/kotlin/org/polystat/j2eo/treeMapper/TreeMappings.kt index eb57138e..ba9b1d1e 100644 --- a/src/main/kotlin/org/polystat/j2eo/treeMapper/TreeMappings.kt +++ b/src/main/kotlin/org/polystat/j2eo/treeMapper/TreeMappings.kt @@ -194,11 +194,7 @@ fun BlockContext.toBlock(): Block { val blockStmnts = BlockStatements(blockStmntsLst.removeFirstOrNull()) blockStmntsLst.forEach { blockStmnts.add(it) } blockStmnts.blockStatements.removeIf { it == null } -<<<<<<< HEAD - return Block(null /*not always null? */, blockStmnts) -======= return Block(null, blockStmnts) ->>>>>>> master } fun Declaration.toBlockStatement(): BlockStatement = BlockStatement(this) diff --git a/src/main/kotlin/org/polystat/j2eo/util/StaticGenerator.kt b/src/main/kotlin/org/polystat/j2eo/util/StaticGenerator.kt index cf26464e..18cd90e9 100644 --- a/src/main/kotlin/org/polystat/j2eo/util/StaticGenerator.kt +++ b/src/main/kotlin/org/polystat/j2eo/util/StaticGenerator.kt @@ -20,7 +20,7 @@ fun generateStatic(clsDec: NormalClassDeclaration, context: Context): List