Skip to content

Ace of Coders - Maximum call stack size exceeded #3049

@MHeasell

Description

@MHeasell

After messing around with Ace of Coders for a while I've hit the following issue a bunch of times. On compiling certain code, my hero stands motionless but the UI doesn't indicate any code errors, and no Ice Yaks spawn. I get the following message in the JavaScript console:

ERROR in transforms.getUserFnMap RangeError: Maximum call stack size exceeded
    at Array.toString (native)
    at h (http://codecombat.com/javascripts/aether.js:2578:15)
    at h (http://codecombat.com/javascripts/aether.js:2580:27)
    at s (http://codecombat.com/javascripts/aether.js:2574:70)
    at s (http://codecombat.com/javascripts/aether.js:2575:103)
    at h (http://codecombat.com/javascripts/aether.js:2579:294)
    at s (http://codecombat.com/javascripts/aether.js:2574:70)
    at s (http://codecombat.com/javascripts/aether.js:2575:103)
    at h (http://codecombat.com/javascripts/aether.js:2579:294)
    at s (http://codecombat.com/javascripts/aether.js:2574:70)

I don't have a minimal example for this, but it seems to happen reliably with certain versions of my code. I'm guessing it's a transpiler bug rather than a problem with my code, but I'm sure I could be proven wrong. I could share my code privately with a dev if this is helpful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions