Forbid semicolons after decorators in classes (#352)

This commit is contained in:
Kevin Gibbons
2017-02-22 07:24:40 -08:00
committed by Daniel Tschinder
parent ad8d520406
commit 561d4f74b0
3 changed files with 10 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
class A {
@a;
m(){}
}

View File

@@ -0,0 +1,3 @@
{
"throws": "Decorators must not be followed by a semicolon (2:5)"
}