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

Implement diagnostic infrastructure #27

Closed
MaxDesiatov opened this issue Jun 6, 2019 · 0 comments · Fixed by #36
Closed

Implement diagnostic infrastructure #27

MaxDesiatov opened this issue Jun 6, 2019 · 0 comments · Fixed by #36
Assignees

Comments

@MaxDesiatov
Copy link
Owner

MaxDesiatov commented Jun 6, 2019

This requires #25 to be fully implemented.

Diagnostic infrastructure should be able to report errors, warnings and supporting informations in different formats: terminal output, LSP format, potentially Xcode format.

Types of diagnostic:

  • Error
  • Warning
  • Suggestion (fix-it)
  • Explanation (should probably be emitted only in a special "explanation" mode)

Note that diagnostic is separate from logging, since logging produces internal information useful for debugging, while diagnostic messages are redirected separately through either LSP, REPL, or plain terminal output coming from "batch" typology File.swift invocations.

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 a pull request may close this issue.

2 participants