> Looks like these two cases are semantic errors instead of syntax errors. > > ```ts > function foo(readonly parameter) {} > ``` > > and > > ```ts > class Foo { method(readonly parameter) {} } > ``` > > Can we fix? _Originally posted by @fisker in [#11713](https://github.com/oxc-project/oxc/issues/11713#issuecomment-3307224195)_