==== tests/cases/compiler/accessorWithRestParam.ts (2 errors) ==== class C { set X(...v) { } ~ !!! A 'set' accessor cannot have rest parameter. static set X(...v2) { } ~ !!! A 'set' accessor cannot have rest parameter. }