inherit comments from class method

This commit is contained in:
Sebastian McKenzie 2015-03-29 17:09:03 +11:00
parent e4db93f6a5
commit 93e37aaaf1

View File

@ -234,6 +234,8 @@ class ClassTransformer {
if (node.kind === "get") kind = "get";
if (node.kind === "set") kind = "set";
t.inheritsComments(node.value, node);
map[kind] = node.value;
}