Skip to content
This repository was archived by the owner on Aug 12, 2020. It is now read-only.
This repository was archived by the owner on Aug 12, 2020. It is now read-only.

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

@TobiaszCudnik

Description

@TobiaszCudnik

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions