Add unique name for constants
This commit is contained in:
parent
b0412a6ae8
commit
09f3edad48
|
|
@ -115,7 +115,7 @@ function nodeToString(node) {
|
|||
}
|
||||
return INFER + node.definition().id + "-" + node.name;
|
||||
} else if (node instanceof AST_Constant){
|
||||
return GIVEN + String(node.value).slice(0,64);
|
||||
return GIVEN + "!" + nodeType(node) + "!" + String(node.value).slice(0,64);
|
||||
} else if (node instanceof AST_Sub){
|
||||
//x[1], x -> expression, 1 -> property
|
||||
return nodeToString(node.expression) + "[]";
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user