--- /src/com/google/javascript/rhino/testing/Asserts.java
+++ /src/com/google/javascript/rhino/testing/Asserts.java
@@ -102,3 +102,3 @@
(a == null) == (b == null));
- if (a == null) {
+ if (message!=null) {
return;
<pattern name="binary">
<entity id="1" type="BinaryOperator"/>
<entity id="2" type="*" role="LEFT_OPERAND">
<parent parentId="1" distance="1"/>
</entity>
<entity id="3" type="*" role="RIGHT_OPERAND">
<parent parentId="1" distance="1"/>
</entity>
<action entityId="1" type="UPD"/>
<action entityId="2" type="UNCHANGED_HIGH_PRIORITY"/>
<action entityId="3" type="UNCHANGED_HIGH_PRIORITY"/>
</pattern>
"instance_detail": [
{
"pattern_action": "UPD",
"pattern_entity": {
"entity_type": "BinaryOperator",
"entity_new value": "*",
"entity_role": "*",
"entity_parent": "null"
},
"concrete_change": {
"operator": "UPD",
"src_type": "BinaryOperator",
"dst_type": "BinaryOperator",
"src": "a == null",
"dst": "message != null",
"src_parent_type": "If",
"dst_parent_type": "If",
"src_parent": "if (a == null) {\n return;\n}",
"dst_parent": "if (message != null) {\n return;\n}"
},
"file": "/home/ubuntu/coming/patch1-Closure-7-Nopol2017",
"line": 103
}
]