fix: stack overflow!!
This commit is contained in:
parent
120e59577d
commit
58d6110e1d
@ -323,7 +323,7 @@ public final class Frame {
|
||||
/**
|
||||
* Induces a value on the stack (as if it were returned by the last function call)
|
||||
* and executes the next instruction in the frame.
|
||||
*
|
||||
*
|
||||
* @param value The value to induce
|
||||
*/
|
||||
public final Value next(Value value) {
|
||||
@ -334,7 +334,7 @@ public final class Frame {
|
||||
* Note that this is different than just throwing the error outside the
|
||||
* function, as the function executed could have a try-catch which
|
||||
* would otherwise handle the error
|
||||
*
|
||||
*
|
||||
* @param error The error to induce
|
||||
*/
|
||||
public final Value induceError(EngineException error) {
|
||||
@ -346,7 +346,7 @@ public final class Frame {
|
||||
* Note that this is different than just returning the value outside the
|
||||
* function, as the function executed could have a try-catch which
|
||||
* would otherwise handle the error
|
||||
*
|
||||
*
|
||||
* @param value The retunr value to induce
|
||||
*/
|
||||
public final Value induceReturn(Value value) {
|
||||
|
@ -57,7 +57,7 @@ public final class StringValue implements PrimitiveValue {
|
||||
}
|
||||
}
|
||||
|
||||
return StringValue.this.getOwnMember(env, key);
|
||||
return PrimitiveValue.super.getOwnMember(env, key);
|
||||
}
|
||||
|
||||
@Override public Set<String> getOwnMembers(Environment env, boolean onlyEnumerable) {
|
||||
|
Loading…
Reference in New Issue
Block a user