forked from AbleScript/ablescript
Variable name shortened
This commit is contained in:
parent
4d1e85a295
commit
a288db985d
|
@ -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