As can be seen in the [playground](https://typescripttolua.github.io/play.html#src=%0Aclass%20A%20%7B%0A%20%20%20%20constructor(public%20error%3A%20string)%7B%7D%0A%7D%0Aconst%20a%20%3D%20new%20A(%2242%22)%0Aconsole.log(a.error)%0A), the property name `error` gets renamed to `____error`. # Input ```ts class A { constructor(public error: string){} } const a = new A("42"); console.log(a.error); ``` # Current output ``` nil ``` # Expected output ``` 42 ```
As can be seen in the playground, the property name
errorgets renamed to____error.Input
Current output
Expected output