Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GH1692: Log more diagnostics from Roslyn. #1966

Merged
merged 2 commits into from Dec 23, 2017

Conversation

bjorkstromm
Copy link
Member

@@ -96,10 +96,30 @@ public void Execute(Script script)
var compilation = roslynScript.GetCompilation();
var diagnostics = compilation.GetDiagnostics();

if (diagnostics.Any(d => d.Severity == DiagnosticSeverity.Error))
var errors = new List<Diagnostic>();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mholo65 am I missing something here, or are you never adding anything to errors?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, minor issue happened during refactoring. Nice catch!

@devlead
Copy link
Member

devlead commented Dec 22, 2017

@mholo65 could you address feedback and rebase against latest develop?

@devlead devlead merged commit 3d283b4 into cake-build:develop Dec 23, 2017
@devlead
Copy link
Member

devlead commented Dec 23, 2017

@mholo65 your changes have been merged, thanks for your contribution 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants