提交 b719a9ad 编写于 作者: H Heejae Chang 提交者: GitHub

Merge pull request #12002 from heejaechang/portfix10

porting #11972 from stabilization to master
......@@ -309,7 +309,9 @@ public IEnumerable<DiagnosticData> ConvertToLocalDiagnostics(Document targetDocu
}
// merge the result to existing one.
result = result.Add(analyzer, builder.ToResult());
// there can be existing one from compiler driver with empty set. overwrite it with
// ide one.
result = result.SetItem(analyzer, builder.ToResult());
}
return result;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册