Changeset

11444:b3a903032611

util.jsonschema: Fix "uniqueItems" prematurely declaring a match
author Kim Alvefur <zash@zash.se>
date Tue, 09 Mar 2021 02:38:51 +0100
parents 11443:a526abef61e6
children 11445:c73744fa3bdf
files teal-src/util/jsonschema.tl util/jsonschema.lua
diffstat 2 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/teal-src/util/jsonschema.tl	Tue Mar 09 02:36:08 2021 +0100
+++ b/teal-src/util/jsonschema.tl	Tue Mar 09 02:38:51 2021 +0100
@@ -275,7 +275,6 @@
 				end
 				values[v] = true
 			end
-			return true
 		end
 
 		local p = 0
--- a/util/jsonschema.lua	Tue Mar 09 02:36:08 2021 +0100
+++ b/util/jsonschema.lua	Tue Mar 09 02:38:51 2021 +0100
@@ -194,7 +194,6 @@
 				end
 				values[v] = true
 			end
-			return true
 		end
 
 		local p = 0