Bug Report
🔎 Search Terms
class async override
🕗 Version & Regression Information
- This changed between versions 4.2.0 and nightly
⏯ Playground Link
Playground link with relevant code
💻 Code
class Base {
method1() {}
method2() {}
}
class Test extends Base {
public override async method1() {
return Promise.resolve(1);
}
public async override method2() {
return Promise.resolve(1);
}
}
🙁 Actual behavior
No errors
🙂 Expected behavior
Possibly error on either override async or async override.
My understanding (from #43533) is that you prefer requiring a specific modifier order. If that's the case, I would have expected an error here.
Bug Report
🔎 Search Terms
class async override
🕗 Version & Regression Information
⏯ Playground Link
Playground link with relevant code
💻 Code
🙁 Actual behavior
No errors
🙂 Expected behavior
Possibly error on either
override asyncorasync override.My understanding (from #43533) is that you prefer requiring a specific modifier order. If that's the case, I would have expected an error here.