You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Create the registry and bind it to the runtime...Registerregistry = newRegistry();
try (V8ValueObjectobject = runtime.createV8ValueObject()) {
result = runtime.getGlobalObject().set( "registry", registry );
object.bind(registry);
}
Executing the following runtime.getExecutor("registry.get( 'some-key' );").executeString(); yields the following (unexpected) output:
call to Register.get( 'get' );
call to Register.get( 'some-key' );
I think that the problem is that the method name (Registry.get) somehow conflicts with the internal pattern matching logic of Javet.
The text was updated successfully, but these errors were encountered:
Hello again,
Lets assume that some class
Registry
:Then somewhere else in the code this happens:
Executing the following
runtime.getExecutor("registry.get( 'some-key' );").executeString();
yields the following (unexpected) output:I think that the problem is that the method name (
Registry.get
) somehow conflicts with the internal pattern matching logic of Javet.The text was updated successfully, but these errors were encountered: