mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-07 14:22:39 -06:00
*Skylark: Fixed issue with witz numeric indicies
git-svn-id: svn://ultimatepp.org/upp/trunk@5379 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
611c4e1bef
commit
5688de93fd
1 changed files with 1 additions and 1 deletions
|
|
@ -243,7 +243,7 @@ Value Compiler::ExeBracket::Eval(ExeContext& x) const
|
|||
{
|
||||
Value m = value->Eval(x);
|
||||
Value q = index->Eval(x);
|
||||
if(IsNumber(q) && IsValueArray(m)) {
|
||||
if(IsNumber(q) && m.Is<ValueArray>()) {
|
||||
ValueArray va = m;
|
||||
int i = q;
|
||||
if(i >= 0 && i < va.GetCount())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue