core-lib icon indicating copy to clipboard operation
core-lib copied to clipboard

God mode's override set to true and a stack overflow

Open TobiaszCudnik opened this issue 12 years ago • 0 comments

When using the 'god mode' with override set to true i've got a stack overflow. Code to reproduce (CS)

{ R } = require('rubyjs')

R.god_mode '', yes

test = "kampai".ljust(10, ' ')

Result:

.../node_modules/rubyjs/ruby.js:83
      val = this.valueOf();
                 ^
RangeError: Maximum call stack size exceeded

TobiaszCudnik avatar Jun 21 '13 21:06 TobiaszCudnik