From 136a5ccc8d7adc429c8db5bfaba6d05072605e5e Mon Sep 17 00:00:00 2001 From: Pawel Murias Date: Thu, 4 May 2017 14:47:36 +0200 Subject: [PATCH] [js] Remove incorrect extra argument --- src/vm/js/perl6-runtime/runtime.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vm/js/perl6-runtime/runtime.js b/src/vm/js/perl6-runtime/runtime.js index 2e30cb9e1e2..4b7e124413e 100644 --- a/src/vm/js/perl6-runtime/runtime.js +++ b/src/vm/js/perl6-runtime/runtime.js @@ -266,7 +266,7 @@ RakudoScalar.prototype.setupSTable = function() { this.STable.addInternalMethod('$$isrwcont', function() { if (this.typeObject_) return 0; - var desc = this.$$getattr(Scalar, '$!descriptor', desc); + let desc = this.$$getattr(Scalar, '$!descriptor'); return desc.$$getattr_i(ContainerDescriptor, '$!rw'); }); };