This commit is contained in:
DBotThePony 2023-02-13 20:28:28 +07:00
parent 0fd5fb0be7
commit 3ef02ad450
Signed by: DBot
GPG Key ID: DCC23B5715498507

View File

@ -27,10 +27,9 @@ class SBPattern private constructor(
val names: ImmutableSet<String> val names: ImmutableSet<String>
) { ) {
val value by lazy { resolve { null } } val value by lazy { resolve { null } }
val hasNames get() = names.isNotEmpty()
override fun toString(): String { override fun toString(): String {
return "SBPattern[$raw]" return "SBPattern[$raw, $params]"
} }
override fun equals(other: Any?): Boolean { override fun equals(other: Any?): Boolean {