forked from AbleScript/ablescript
Variable name shortened
This commit is contained in:
parent
fb16cb2ebb
commit
1b9f8a6179
|
@ -395,7 +395,7 @@ impl ops::Div for Value {
|
||||||
),
|
),
|
||||||
Value::Int(i) => Value::Int(i.wrapping_div(match rhs.into_i32() {
|
Value::Int(i) => Value::Int(i.wrapping_div(match rhs.into_i32() {
|
||||||
0 => consts::ANSWER,
|
0 => consts::ANSWER,
|
||||||
rhsi => rhsi,
|
x => x,
|
||||||
})),
|
})),
|
||||||
Value::Bool(b) => Value::Bool(!b || rhs.into_bool()),
|
Value::Bool(b) => Value::Bool(!b || rhs.into_bool()),
|
||||||
Value::Abool(_) => !self + rhs,
|
Value::Abool(_) => !self + rhs,
|
||||||
|
|
Loading…
Reference in a new issue