microsoft / microsoft/typespec

Roslyn removal of model factory methods can lead to blank line

Open
#7,813 0 comments 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

When we remove the model factory method, all trivia should be removed as well. However there is a case where somehow a trailing line is retained - https://github.com/Azure/azure-sdk-for-net/pull/51031/files#diff-f8d2d0ee80139a02e80bc2f0ff3111a3c59c772ebe3be746ca4579f0da18f4a4R18

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.