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

Make Haml-Syntax-Checker compatible with haml ~> 5.0.4 #1325

Merged
merged 1 commit into from Nov 9, 2017

Conversation

TeaMoe
Copy link
Contributor

@TeaMoe TeaMoe commented Sep 13, 2017

Using HAML from stdin is broken if the file has a ruby syntax error, but no haml error.
And Ruby-Syntax errors are reported in a different format, so i had to extend the error_patterns.

@CLAassistant
Copy link

CLAassistant commented Sep 13, 2017

CLA assistant check
All committers have signed the CLA.

@fmdkdd
Copy link
Member

fmdkdd commented Sep 13, 2017

Using HAML from stdin is broken if the file has a ruby syntax error, but no haml error.

Could that be an upstream bug?

@TeaMoe
Copy link
Contributor Author

TeaMoe commented Sep 13, 2017

Could that be an upstream bug?

Yes, i would think so.

@fmdkdd
Copy link
Member

fmdkdd commented Sep 13, 2017

Yes, i would think so.

Looks like it has already been reported. Let's wait to see if they intend to fix it before working around it in Flycheck.

In any case, thank you for promptly suggesting a patch (including a test, even!).

@TeaMoe TeaMoe changed the title Make Haml-Syntax-Checker compatible with haml ~> 5.0.0 Make Haml-Syntax-Checker compatible with haml ~> 5.0.3 Sep 14, 2017
@TeaMoe TeaMoe changed the title Make Haml-Syntax-Checker compatible with haml ~> 5.0.3 Make Haml-Syntax-Checker compatible with haml ~> 5.0.4 Nov 9, 2017
@TeaMoe
Copy link
Contributor Author

TeaMoe commented Nov 9, 2017

Hi, I've updated my commit to work with haml v5.0.4, which includes a fix for --stdin.

Copy link
Member

@fmdkdd fmdkdd left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for looking back into this issue 👍

@fmdkdd fmdkdd merged commit d309432 into flycheck:master Nov 9, 2017
@TeaMoe TeaMoe deleted the haml5 branch November 9, 2017 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants