Compare commits
4 Commits
b190367681
...
v0.10.11-b
| Author | SHA1 | Date | |
|---|---|---|---|
|
4bfda6b0a1
|
|||
|
58d6110e1d
|
|||
|
120e59577d
|
|||
|
efe123b658
|
@@ -1,4 +1,4 @@
|
||||
project_group = me.topchetoeu.j2s
|
||||
project_name = j2s
|
||||
project_version = 0.10.9-beta
|
||||
project_version = 0.10.11-beta
|
||||
main_class = me.topchetoeu.j2s.repl.SimpleRepl
|
||||
|
||||
@@ -56,6 +56,7 @@ const construct = (input, output) => defineConfig({
|
||||
|
||||
babelHelpers: "runtime",
|
||||
plugins: [
|
||||
"@babel/plugin-proposal-class-properties",
|
||||
"@babel/plugin-transform-arrow-functions",
|
||||
"@babel/plugin-transform-block-scoping",
|
||||
"@babel/plugin-transform-classes",
|
||||
@@ -78,7 +79,6 @@ const construct = (input, output) => defineConfig({
|
||||
"@babel/plugin-transform-logical-assignment-operators",
|
||||
"@babel/plugin-transform-numeric-separator",
|
||||
"@babel/plugin-transform-private-methods",
|
||||
"@babel/plugin-proposal-class-properties",
|
||||
"@babel/plugin-transform-class-static-block",
|
||||
"@babel/plugin-transform-regenerator",
|
||||
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user