We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
mergeOperations
Parser.kt
1 parent 6cbc168 commit 77e4affCopy full SHA for 77e4aff
core/common/src/internal/format/parser/Parser.kt
@@ -53,7 +53,6 @@ internal fun <T> List<ParserStructure<T>>.concat(): ParserStructure<T> {
53
unconditionalModifications: List<UnconditionalModification<T>>,
54
simplifiedParserStructure: ParserStructure<T>,
55
): ParserStructure<T> {
56
- require(simplifiedParserStructure.operations.isNotEmpty()) { "Cannot merge operations from empty structure" }
57
val operationsToMerge = simplifiedParserStructure.operations
58
val firstOperation = operationsToMerge.firstOrNull()
59
val mergedOperations = buildList {
0 commit comments