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
When the operand of a left operator section is an application with the argument a lambda taking advantage of BlockArguments, an incorrect suggestion to remove the brackets around the application is given. Removal of these brackets would move the operator inside the lambda, resulting in a syntax error.
Example module:
{-# LANGUAGE BlockArguments #-}
moduleExamplewhere
f = ((const1\_ ->()) +)
When the operand of a left operator section is an application with the argument a lambda taking advantage of
BlockArguments
, an incorrect suggestion to remove the brackets around the application is given. Removal of these brackets would move the operator inside the lambda, resulting in a syntax error.Example module:
Emitted suggestion:
Module after accepting the suggestion (syntax error):
The text was updated successfully, but these errors were encountered: