From 2985f1b40b7d707f799e4b97f236d3598e255e6e Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Mon, 24 Nov 2014 00:47:10 +1100 Subject: [PATCH] fix VirtualPropertyExpression visitor keys - fixes #207 --- CHANGELOG.md | 4 ++++ lib/6to5/types/visitor-keys.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 709642f1bd..00b47a3f9b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# 1.13.9 + + * Fix `VirtualPropertyExpression` visitor keys. + # 1.13.8 * Only use a single reference in abstract references. diff --git a/lib/6to5/types/visitor-keys.json b/lib/6to5/types/visitor-keys.json index c896d95a09..02808567f5 100644 --- a/lib/6to5/types/visitor-keys.json +++ b/lib/6to5/types/visitor-keys.json @@ -61,7 +61,7 @@ "UpdateExpression": ["argument"], "VariableDeclaration": ["declarations"], "VariableDeclarator": ["id", "init"], - "VirtualPropertyExpression": ["left", "right"], + "VirtualPropertyExpression": ["object", "property"], "WhileStatement": ["test", "body"], "WithStatement": ["object", "body"], "XJSAttribute": ["name", "value"],