fix typos introduced in 68789da6a1

issue#70
Houtan Bastani 2019-06-25 17:02:26 +02:00
parent 68789da6a1
commit 6686344acb
No known key found for this signature in database
GPG Key ID: 000094FB955BE169
1 changed files with 2 additions and 2 deletions

View File

@ -616,11 +616,11 @@ Variable::eval()
}
else
throw StackTrace("variable", "You cannot index a variable with a "
nested array", location);
"nested array", location);
}
else
throw StackTrace("variable", "You can only index a variable with an int or "
an int array", location);
"an int array", location);
}
switch (env.getType(name))