marko 6.0.0-next.3.86 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/translator/index.js +4 -1
- package/package.json +1 -1
package/dist/translator/index.js
CHANGED
@@ -8087,7 +8087,10 @@ var id_default = {
|
|
8087
8087
|
if (!import_compiler40.types.isIdentifier(node.var)) {
|
8088
8088
|
throw tag.get("var").buildCodeFrameError("The `id` tag cannot be destructured");
|
8089
8089
|
}
|
8090
|
-
trackVarReferences(tag, 4 /* derived */);
|
8090
|
+
const binding = trackVarReferences(tag, 4 /* derived */);
|
8091
|
+
if (binding) {
|
8092
|
+
setBindingValueExpr(binding, false);
|
8093
|
+
}
|
8091
8094
|
},
|
8092
8095
|
translate: {
|
8093
8096
|
exit(tag) {
|