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

Add emit_single, which emits a Diagnostic given a single FileMap #56

Closed
wants to merge 1 commit into from
Closed

Add emit_single, which emits a Diagnostic given a single FileMap #56

wants to merge 1 commit into from

Conversation

oberien
Copy link
Contributor

@oberien oberien commented Mar 29, 2019

My program performs a sort-of recursive-descend approach to files. As such I don't have all files loaded at the same time. Thus, it's hard for me to use a CodeMap. Instead, I'd like to be able to emit diagnostics just given a single FileMap.

This PR adds a emit_single function, which can be used to emit diagnostics given a FileMap instead of a CodeMap.

@ebkalderon
Copy link
Contributor

Since CodeMap and FileMap were replaced by a single Files type in version 0.4.0, is this pull request still relevant?

@brendanzab
Copy link
Owner

Yeah, I think this can be closed now.

@brendanzab brendanzab closed this Dec 18, 2019
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