未验证 提交 6e3e13db 编写于 作者: A Andy Gocke 提交者: GitHub

Remove PROTOTYPE comment from editorconfig (#35612)

A PROTOTYPE comment snuck its way into master. It described some a
possible interpretation for the editorconfig parser on line
continuations, but I don't think we should do it, so the correct fix is
to remove the comment.
上级 b8c54ca9
......@@ -8,7 +8,6 @@
using Roslyn.Test.Utilities;
using Xunit;
using static Microsoft.CodeAnalysis.AnalyzerConfig;
using static Microsoft.CodeAnalysis.CommonCompiler;
using static Roslyn.Test.Utilities.TestHelpers;
using KeyValuePair = Roslyn.Utilities.KeyValuePairUtil;
......@@ -227,11 +226,10 @@ public void SymbolsInProperties()
[Fact]
public void LongLines()
{
// PROTOTYPE(editorconfig): This example is described in the Python ConfigParser as
// allowing line continuation via the RFC 822 specification, section 3.1.1 LONG
// HEADER FIELDS. It's unclear whether it's intended for editorconfig to permit
// this interpretation. The VS parser does not. We should probably check other
// parsers for completeness.
// This example is described in the Python ConfigParser as allowing
// line continuation via the RFC 822 specification, section 3.1.1
// LONG HEADER FIELDS. The VS parser does not accept this as a
// valid parse for an editorconfig file. We follow similarly.
var config = ParseConfigFile(@"
long: this value continues
in the next line");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册