Line wrap when pp long expressions (fixes #16874)
This commit fixes #16874 by using `fsep` rather than `sep` when pretty printing long patterns and expressions.
Showing
- compiler/hsSyn/HsExpr.hs 1 addition, 1 deletioncompiler/hsSyn/HsExpr.hs
- compiler/hsSyn/HsPat.hs 1 addition, 1 deletioncompiler/hsSyn/HsPat.hs
- testsuite/tests/typecheck/should_fail/T16874.hs 12 additions, 0 deletionstestsuite/tests/typecheck/should_fail/T16874.hs
- testsuite/tests/typecheck/should_fail/T16874.stderr 12 additions, 0 deletionstestsuite/tests/typecheck/should_fail/T16874.stderr
- testsuite/tests/typecheck/should_fail/all.T 1 addition, 0 deletionstestsuite/tests/typecheck/should_fail/all.T
Loading
Please register or sign in to comment