From 2126851fbf1ee3fa946da8d292874b0dddb213f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Gr=C3=BCn?= Date: Thu, 30 Jan 2025 17:41:52 +0100 Subject: [PATCH] Map construction, duplicate keys. qt4cg/qtspecs#1740 --- map/put.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/map/put.xml b/map/put.xml index edd86fbe..697973b8 100644 --- a/map/put.xml +++ b/map/put.xml @@ -151,13 +151,14 @@ map:put() with assorted keys that compare equal + map:put(map{3 : "three"}, xs:float('3.0'), "threeF") 1 map(*) - map(xs:float, xs:string) + map(xs:numeric, xs:string) map:size($result) eq 1 $result?(3.0) eq "threeF"