forked from AbleScript/ablescript
sync
This commit is contained in:
parent
61ee6b3597
commit
6d48dca547
|
@ -578,6 +578,7 @@ impl ops::Div for Value {
|
|||
.collect(),
|
||||
}
|
||||
}
|
||||
Functio::Chain { .. } => todo!(":P"),
|
||||
Functio::Eval(s) => {
|
||||
let len = s.len();
|
||||
Functio::Eval(s.chars().take((len as f64 * fraction) as usize).collect())
|
||||
|
|
Loading…
Reference in a new issue