Skip to content
This repository was archived by the owner on Jan 29, 2024. It is now read-only.
This repository was archived by the owner on Jan 29, 2024. It is now read-only.

Maximum stack when inferring classes with a method that calls another method #377

Description

@k4b7

Playground link: https://hegel.js.org/try#MYGwhgzhAEBiD29oG8BQ0PQEZgE4AowAabAShXUytwFMAXAV1wDtoBZMOgCwDpcxmAE3gBbfOQB80AAw8ArNAD80MNABc2ANyUMAX1Q7sYAF6ESWcmirV6TVtwCWEHjgLEy2qvt1A

class Foo {
    bar(a, b) {
        return Math.random() > 0.5 ? a : b;
    }

    baz(a, b) {
        return this.bar(a, b);
    }
}

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