< prev index next >

src/jdk.compiler/share/classes/com/sun/tools/javac/comp/TreeDiffer.java

Print this page

        

@@ -589,11 +589,11 @@
     }
 
     @Override
     public void visitTypeTest(JCInstanceOf tree) {
         JCInstanceOf that = (JCInstanceOf) parameter;
-        result = scan(tree.expr, that.expr) && scan(tree.clazz, that.clazz);
+        result = scan(tree.expr, that.expr) && scan(tree.pattern, that.pattern);
     }
 
     @Override
     public void visitTypeUnion(JCTypeUnion tree) {
         JCTypeUnion that = (JCTypeUnion) parameter;
< prev index next >