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

Raw method names with / are formatted improperly #406

Closed
ForNeVeR opened this issue Jan 29, 2019 · 1 comment
Closed

Raw method names with / are formatted improperly #406

ForNeVeR opened this issue Jan 29, 2019 · 1 comment

Comments

@ForNeVeR
Copy link
Contributor

Description

I have a method named ``/ operator combines paths``, and Fantomas breaks the code when formatting this method.

Repro code

Here it is.

@nojaf
Copy link
Contributor

nojaf commented Jan 29, 2019

/ operator combines paths is being mistaken for an infix operator in (|OpNameFull|).

Not sure if this should be fixed here or in FCS. Perhaps this is not a bug on either side.

A workaround for you could be to just put another space before the /, like this.

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

No branches or pull requests

2 participants