rusty-ecma / RESSA

Rusty EcmaScript Syntax Analyzer
MIT License
111 stars 14 forks source link

constructor scope and getter/setter scope overlaps #85

Closed Fee0 closed 1 year ago

Fee0 commented 1 year ago

It seems that the scope of constructors somehow overlap with the scope inside getter and setter (setter parameter seem to work).

class e {
    constructor(t) {}

    get a() {
        let t;
    }

    get b(x) {
        let t;
    }
}
FreeMasen commented 1 year ago

Thank you for the bug report, I will try and figure out what is happening here this weekend.

FreeMasen commented 1 year ago

This was merged as part of 0.8.1