fix(28516): forbid using async modifier with the abstract modifier (#39963)

This commit is contained in:
Alexander T
2020-09-05 00:59:53 +03:00
committed by GitHub
parent f6f2d36ee3
commit 09d68efae1
6 changed files with 59 additions and 25 deletions

View File

@@ -1,15 +1,17 @@
abstract class A {
abstract foo_a();
public abstract foo_b();
protected abstract foo_c();
private abstract foo_d();
abstract public foo_bb();
abstract protected foo_cc();
abstract private foo_dd();
abstract static foo_d();
static abstract foo_e();
}
abstract async foo_f();
async abstract foo_g();
}