microsoft / microsoft/typespec

[http-client-csharp] Some statements did not override the default `Accept` method

Open
#8,177 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.