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
Provide the steps required to reproduce the problem:
When (f >> g) is composed, this leads to a warning while a function call with aaaaa does not.
From an AST point of view, I don't really see why there should be a warning in the second case.
letf _ b = b
letg _ b = b
letaaaaa<'t>= f >> g
letbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb=42letc=43
aaaaa (
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb,
c
)(f >> g)(
bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb,
c
)
Consider the following code:
![image](https://user-images.githubusercontent.com/2621499/104004405-024cb500-51a4-11eb-8002-54e8b0cd2012.png)
Provide the steps required to reproduce the problem:
When
(f >> g)
is composed, this leads to a warning while a function call withaaaaa
does not.From an AST point of view, I don't really see why there should be a warning in the second case.
Ident
does not have this problem, whileApp
does.Expected behavior
I would not expect any warnings.
Actual behavior
(f >> g)
leads to a warning.Known workarounds
Compose before invkcing the function call.
Related information
Provide any related information (optional):
Related Fantomas issue: fsprojects/fantomas#1341
The text was updated successfully, but these errors were encountered: