Skip to content
This repository was archived by the owner on May 19, 2018. It is now read-only.

Decorators Stage 2 Parsing #587

Merged
merged 14 commits into from
Jun 22, 2017
Merged
Prev Previous commit
Next Next commit
Add test case for object properties
  • Loading branch information
peey committed Jun 17, 2017
commit b7c1c559c704413104f7314c6ae8ef18949d9388
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
var o = {
@baz
foo() {
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"throws": "Stage 2 decorators disallow object literal property decorators (2:2)"
}