diff --git a/src/compiler/compile/nodes/Element.ts b/src/compiler/compile/nodes/Element.ts index 5595ad4762..afe8a512ae 100644 --- a/src/compiler/compile/nodes/Element.ts +++ b/src/compiler/compile/nodes/Element.ts @@ -260,7 +260,7 @@ export default class Element extends Node { this.scope = scope; this.children = map_children(component, this, this.scope, info.children); - if (this.is_dynamic_element()) { + if (this.is_dynamic_element) { this.validate_dynamic_element(info); } this.validate();