assertLineAndColumn(`class A { g() { returnthis.#x; }}`, 1, 29); // Make sure we're reporting the first error, if there are multiple, in class // exit context;
assertLineAndColumn(
`class A { g() { returnthis.#x; } y() { returnthis.#z + this.#y; } }`,
1, 29);
assertLineAndColumn(`this.#x`, 1, 6); // Make sure we're reporting the first error, if there are multiple, in // non-class context;
assertLineAndColumn(`this.#x; this.#y; this.#z`, 1, 6);
assertLineAndColumn(
`class A {
g() { returnthis.#x; }}`,
2, 19);
assertLineAndColumn(
`class A {
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.