// Input
class A {
@decorator()
get foo () {}
@decorator()
set foo (value) {}
}
// Prettier stable
SyntaxError: Decorators cannot be applied to multiple get/set accessors of the same name. (5:3)
3 | get foo () {}
4 |
> 5 | @decorator()
| ^^^^^^^^^^^^
6 | set foo (value) {}
7 | }
// Prettier main
class A {
@decorator()
get foo() {}
@decorator()
set foo(value) {}
}