Daniel Minor 581de2d0f8 Fixup class names in class decorator private identifier tests.
For the statement level test, the inner class name is not initialized
at the time the decorators evaluate, resulting in a ReferenceError
that the declaration can not be accessed prior to initialization.

Similar, non-decorator code, like:
    class C {
        static dec() {}
        static {
            this.x = C.dec();
            class C {}
        }
    }
also results in a ReferenceError.

For the expression level test, the var C is undefined at the time the
decorators are evaluated, resulting in TypeError while trying to access
a member of undefined.

Similar, non-decorator code, like:
    var C = class {
        static f() {};
        static {
            this.x = C.f();
        }
    }
also results in a TypeError.
2023-10-05 10:23:12 -07:00
..
2019-08-14 17:02:04 -04:00
2019-08-14 17:02:04 -04:00
2021-10-01 16:38:56 -04:00
2021-10-01 16:38:56 -04:00
2020-10-14 14:01:01 -04:00
2020-10-14 14:01:01 -04:00
2020-09-10 16:22:34 -04:00
2022-11-30 16:04:02 -08:00
2021-10-01 16:38:56 -04:00
2021-10-01 16:38:56 -04:00
2020-10-14 14:01:01 -04:00
2020-10-14 14:01:01 -04:00
2020-09-30 10:05:47 -04:00
2021-01-28 16:03:01 -08:00