From 0fd2397afdd0824b68a2fd65545e0751ca640ff7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?T=C3=A9rence=20Hollander?= Date: Sun, 21 Mar 2021 16:03:12 +0100 Subject: [PATCH] Update src/compiler/compile/nodes/Attribute.ts --- src/compiler/compile/nodes/Attribute.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/compile/nodes/Attribute.ts b/src/compiler/compile/nodes/Attribute.ts index 23b5e54f3f..ebed483288 100644 --- a/src/compiler/compile/nodes/Attribute.ts +++ b/src/compiler/compile/nodes/Attribute.ts @@ -96,7 +96,7 @@ export default class Attribute extends Node { } get_static_value() { - if (this.is_spread || !this.is_static) return null; + if (!this.is_static) return null; return this.is_true ? true