From 9055cff8f654d95b0e692a4483080d04981eb14e Mon Sep 17 00:00:00 2001 From: utybo Date: Mon, 4 May 2020 19:21:48 +0200 Subject: [PATCH] LixyGenericTokenType should not be a data class --- src/commonMain/kotlin/guru/zoroark/lixy/LixyTokenType.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commonMain/kotlin/guru/zoroark/lixy/LixyTokenType.kt b/src/commonMain/kotlin/guru/zoroark/lixy/LixyTokenType.kt index 675d6cd..613e81b 100644 --- a/src/commonMain/kotlin/guru/zoroark/lixy/LixyTokenType.kt +++ b/src/commonMain/kotlin/guru/zoroark/lixy/LixyTokenType.kt @@ -12,7 +12,7 @@ interface LixyTokenType * * @property name A name for this token type, useful for debugging. */ -data class LixyGenericTokenType(val name: String) : LixyTokenType +class LixyGenericTokenType(val name: String) : LixyTokenType /** * Creates a new, distinct token type and returns it. The returned token type is