We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b746261 commit 8decac5Copy full SHA for 8decac5
src/ec-evaluator/interpreter.ts
@@ -506,10 +506,11 @@ export const cmdEvaluators: { [type: string]: CmdEvaluator } = {
506
507
// Native function escape hatch
508
if (closure.mtdOrCon.kind === 'MethodDeclaration' && isNative(closure.mtdOrCon)) {
509
- const nativeFn = natives[getFullyQualifiedDescriptor(closure.mtdOrCon)]
+ const nativeFnDescriptor = getFullyQualifiedDescriptor(closure.mtdOrCon)
510
+ const nativeFn = natives[nativeFnDescriptor]
511
512
if (!nativeFn) {
- throw new errors.UndefinedNativeMethod(nativeFn)
513
+ throw new errors.UndefinedNativeMethod(nativeFnDescriptor)
514
}
515
516
// call foreign fn
0 commit comments