From e986cd46ef3420dbf1d02a31207c2078d27031f0 Mon Sep 17 00:00:00 2001 From: Lucas Hosseini Date: Tue, 8 Oct 2024 14:30:56 +0200 Subject: [PATCH] [stdlib] Fix error message for JSON `KeyNotFound` exception. --- skiplang/prelude/src/stdlib/serialization/JSON.sk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skiplang/prelude/src/stdlib/serialization/JSON.sk b/skiplang/prelude/src/stdlib/serialization/JSON.sk index 5ec8cd891..cf562a2ae 100644 --- a/skiplang/prelude/src/stdlib/serialization/JSON.sk +++ b/skiplang/prelude/src/stdlib/serialization/JSON.sk @@ -198,7 +198,7 @@ private fun indent(write: .String -> void, nspaces: Int): void { class KeyNotFoundError(key: .String) extends Serialization.SerializationError { fun getMessage(): .String { - "Key '" + this.key + "'not found"; + "Key '" + this.key + "' not found"; } fun toString(): .String { `KeyNotFoundError: ${this.getMessage()}`