docs: 修改注释
This commit is contained in:
parent
34d45c7878
commit
cdc7dea410
@ -67,7 +67,7 @@ public class BinaryExpressionAnalyzer implements ExpressionAnalyzer<BinaryExpres
|
||||
Type wide = Type.widen(left, right);
|
||||
if (wide == null) wide = BuiltinType.INT; // 容错降级为 int
|
||||
|
||||
// 若为比较运算符,统一返回 int 类型作为布尔值表示
|
||||
// 若为比较运算符,统一返回 boolean 类型作为布尔值表示
|
||||
if ("< <= > >= == !=".contains(op)) {
|
||||
return BuiltinType.BOOLEAN;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user