Skip to content

Commit f5f02ea

Browse files
committed
#162: conflicts resolved
1 parent 6ec8735 commit f5f02ea

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

src/main/kotlin/org/polystat/j2eo/treeMapper/TreeMappings.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -194,11 +194,7 @@ fun BlockContext.toBlock(): Block {
194194
val blockStmnts = BlockStatements(blockStmntsLst.removeFirstOrNull())
195195
blockStmntsLst.forEach { blockStmnts.add(it) }
196196
blockStmnts.blockStatements.removeIf { it == null }
197-
<<<<<<< HEAD
198-
return Block(null /*not always null? */, blockStmnts)
199-
=======
200197
return Block(null, blockStmnts)
201-
>>>>>>> master
202198
}
203199

204200
fun Declaration.toBlockStatement(): BlockStatement = BlockStatement(this)

src/main/kotlin/org/polystat/j2eo/util/StaticGenerator.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ fun generateStatic(clsDec: NormalClassDeclaration, context: Context): List<EOBnd
2020
dec.modifiers?.modifiers?.modifiers?.find { it == TokenCode.Static } != null ||
2121
dec is ConstructorDeclaration ||
2222
dec is ClassDeclaration /* FIXME (IT'S NOT ALWAYS TRUE) */
23-
dec is ClassDeclaration
23+
dec is ClassDeclaration
2424
}
2525
.map { mapClassDeclaration(it, context) }
2626
.flatten()

0 commit comments

Comments
 (0)