From 7ae97961b21ad98e278f600f78ae58cc2730337c Mon Sep 17 00:00:00 2001 From: monoid Date: Sun, 29 Jun 2025 02:03:31 +0900 Subject: [PATCH] refactor: replace sequenceOf() with emptySequence() for clarity --- lib/src/main/kotlin/org/example/RegexItem.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/main/kotlin/org/example/RegexItem.kt b/lib/src/main/kotlin/org/example/RegexItem.kt index 827ff86..86693da 100644 --- a/lib/src/main/kotlin/org/example/RegexItem.kt +++ b/lib/src/main/kotlin/org/example/RegexItem.kt @@ -58,7 +58,7 @@ class AndThenItem(val left: RegexItem, val right: RegexItem) : RegexItem { } } else { // If right match fails, return an empty sequence - sequenceOf() + emptySequence() } } )