Print a Node's originalName property in Node::toString
This happened by default when original names were a Node.Prop, so I put the printing inside the `printAnnotations` if block to match the previous behavior & avoid needing to add another printOriginalNames argument.
@@ -1153,6 +1153,11 @@ public class Node {
sb.append(x);
sb.append(']');
}
+ if (this.originalName != null) {
+ sb.append(" [original_name: ");
+ sb.append(this.originalName);
+ sb.append(']');
+ }
}
if (printType && jstypeOrColor != null) {
