From 77b17b43d9a7403442c46b836470a2f86320a81c Mon Sep 17 00:00:00 2001
From: Peter Kaske
Date: Mon, 27 Nov 2017 21:26:28 +0100
Subject: [PATCH] Allow non-JSON literals when property type is "Object".
---
lib/mixins/property-accessors.html | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/mixins/property-accessors.html b/lib/mixins/property-accessors.html
index 15900ab7bc..e518656fdd 100644
--- a/lib/mixins/property-accessors.html
+++ b/lib/mixins/property-accessors.html
@@ -362,6 +362,7 @@
outValue = JSON.parse(/** @type {string} */(value));
} catch(x) {
// allow non-JSON literals like Strings and Numbers
+ outValue = value;
}
break;