ef4 / decorator-transforms

Better babel transforms for decorators

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Non-identifier field and method names

ef4 opened this issue · comments

Got a bug report via discord that we don't handle this correctly:

@computed('bar')
get 'foo'() { ...

The same issue may apply to fields and method names in general:

   @wat
   1 = 2

   @wat
   "thing" = 3

   @wat
  "do stuff"() {}
}```