262 return lhs.getType(localVariableTypes); |
262 return lhs.getType(localVariableTypes); |
263 } |
263 } |
264 case COMMARIGHT: { |
264 case COMMARIGHT: { |
265 return rhs.getType(localVariableTypes); |
265 return rhs.getType(localVariableTypes); |
266 } |
266 } |
|
267 case AND: |
|
268 case OR:{ |
|
269 return Type.widestReturnType(lhs.getType(localVariableTypes), rhs.getType(localVariableTypes)); |
|
270 } |
267 default: |
271 default: |
268 if (isComparison()) { |
272 if (isComparison()) { |
269 return Type.BOOLEAN; |
273 return Type.BOOLEAN; |
270 } |
274 } |
271 return Type.OBJECT; |
275 return Type.OBJECT; |