Index: Assignment.java =================================================================== RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Assignment.java,v retrieving revision 1.44 diff -u -r1.44 Assignment.java --- Assignment.java 9 Jul 2004 21:37:20 -0000 1.44 +++ Assignment.java 20 Jul 2004 18:33:23 -0000 @@ -180,6 +180,7 @@ TypeBinding expectedType) { TypeBinding type = super.resolveTypeExpecting(scope, expectedType); + if (type == null) return null; TypeBinding lhsType = this.resolvedType; TypeBinding rhsType = this.expression.resolvedType; // signal possible accidental boolean assignment (instead of using '==' operator)