JS: Update OK-style comments to $-style

This commit is contained in:
Asger F
2025-02-06 13:34:01 +01:00
parent 7e5c24a8ec
commit 9be041e27d
536 changed files with 4408 additions and 4762 deletions

View File

@@ -3,6 +3,6 @@ abstract class Q {
static test() {}
method() {
this.test(); // OK
this.test();
}
}

View File

@@ -1,6 +1,6 @@
class Foo {
bar(){
this.baz; // OK
this.baz;
}
baz(){

View File

@@ -1,6 +1,6 @@
class Foo {
bar() {
this.baz; // OK
this.baz;
}
baz() {}
static baz() {}

View File

@@ -1,6 +1,6 @@
class Foo {
static bar(){
this.baz; // NOT OK
this.baz; // $ Alert
}
baz(){

View File

@@ -1,6 +1,6 @@
class Foo {
bar(){
this.baz; // NOT OK
this.baz; // $ Alert
}
static baz(){
}

View File

@@ -1,6 +1,6 @@
class Foo {
static bar(){
this.baz; // OK
this.baz;
}
static baz(){

View File

@@ -1,6 +1,6 @@
class Foo {
static bar() {
this.baz; // OK
this.baz;
}
static baz() {}
baz() {}

View File

@@ -1,6 +1,6 @@
class Foo {
bar(){
Foo.baz; // OK
Foo.baz;
}
static baz(){

View File

@@ -1,7 +1,7 @@
class C1 {
test() {
this.f = x;
this.f; // OK
this.f;
}
static f() {
@@ -12,7 +12,7 @@ class C1 {
class C2 {
static test() {
this.f = x;
this.f; // OK
this.f;
}
f() {
@@ -22,7 +22,7 @@ class C2 {
class C3 {
test() {
this.f; // OK
this.f;
}
static f() {
@@ -33,7 +33,7 @@ new C3().f = x;
class C4 {
static test() {
this.f; // OK
this.f;
}
f() {
@@ -52,7 +52,7 @@ class C5 extends C5_super{
}
test() {
this.f; // OK
this.f;
}
}
@@ -63,6 +63,6 @@ class C6_super {
}
class C6 extends C6_super{
static test() {
this.f; // NOT OK
this.f; // $ Alert
}
}