compat-table icon indicating copy to clipboard operation
compat-table copied to clipboard

Add more class fields tests

Open chicoxyzzy opened this issue 6 years ago • 3 comments

Currently tests don't cover computed fields https://bugzilla.mozilla.org/show_bug.cgi?id=1535166

chicoxyzzy avatar Mar 21 '19 07:03 chicoxyzzy

Wasn't this fixed by #1440?

afmenez avatar Apr 03 '19 16:04 afmenez

Not all cases were covered by #1440 For example

class C {
    2 = 2;
    0b01 = 2;
    "hello" = 2;
}

and presence of property x in instance of

class C {
    x;
}

are still worth testing IMO

chicoxyzzy avatar Apr 03 '19 22:04 chicoxyzzy

@evseevdev would you be open to add more tests? If so, you may ping me in Telegram again if you need more information.

chicoxyzzy avatar Apr 03 '19 22:04 chicoxyzzy