microsoft / microsoft/typespec
[http-client-csharp] Some statements did not override the default `Accept` method
Open
emitter:client:csharp
- Dominant language
- Java
- Stars
- 5.9k
- Forks
- 394
- Avg merge
- 1d 23h
- Merged PRs (30d)
- 104
Description
For instance `DoWhileStatement` did not override this method.
This leads to a result that the visit statement callback would not go into the body of such statements.
We could also consider to change this `Accept` method on `MethodBodyStatement` to be abstract to enforce all the statement to implement it - like what we have done for `Write` method.
Contributor guide
Assessment
This issue has not been assessed yet.