You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Based on esl/exml#52 it turns out that the formatter doesn't currently handle when clauses in specs well (probably in types, too, though they don't seem to be useful there). The specific points were:
Based on esl/exml#52 it turns out that the formatter doesn't currently handle
when
clauses in specs well (probably in types, too, though they don't seem to be useful there). The specific points were:esl/exml#52 (comment)
https://github.com/esl/exml/pull/52/files#r393059362
https://github.com/esl/exml/pull/52/files#r393072500
Given an input spec and function head:
The formatter currently prints:
We're proposing the formatter to automatically expand long specs (of more than 3 arguments) to the following form instead:
Alternatively, it would be beneficial if it could introduce line breaks before the return value, not between the function arguments:
The text was updated successfully, but these errors were encountered: