View | Details | Raw Unified | Return to bug 70398
Collapse All | Expand All

(-)Assignment.java (+1 lines)
Lines 180-185 Link Here
180
			TypeBinding expectedType) {
180
			TypeBinding expectedType) {
181
181
182
		TypeBinding type = super.resolveTypeExpecting(scope, expectedType);
182
		TypeBinding type = super.resolveTypeExpecting(scope, expectedType);
183
		if (type == null) return null;
183
		TypeBinding lhsType = this.resolvedType; 
184
		TypeBinding lhsType = this.resolvedType; 
184
		TypeBinding rhsType = this.expression.resolvedType;
185
		TypeBinding rhsType = this.expression.resolvedType;
185
		// signal possible accidental boolean assignment (instead of using '==' operator)
186
		// signal possible accidental boolean assignment (instead of using '==' operator)

Return to bug 70398