Skip to content

Commit

Permalink
Merge pull request haskellfoundation#397 from haskellfoundation/fend-…
Browse files Browse the repository at this point in the history
…on-pr

Get the line-ending linter to run on pull requests
  • Loading branch information
david-christiansen authored Apr 12, 2023
2 parents ee4d3d8 + 563a3e4 commit 29c8b77
Show file tree
Hide file tree
Showing 14 changed files with 24 additions and 16 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/fend.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
name: fend

on: [push]
on:
push:
branches:
- main
pull_request:
types:
- opened
- synchronize
- reopened

jobs:
fend:
Expand Down
2 changes: 1 addition & 1 deletion message-index/messages/GHC-44432/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ severity: error
introduced: 9.6.1
---

If a type signature is given for a name, then that name also needs to be defined.
If a type signature is given for a name, then that name also needs to be defined.
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ fortytwo =
let
two :: Integer
two = 2
in
40 + two
in
40 + two
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ fortytwo :: Integer
fortytwo =
let
two :: Integer
in
40 + two
in
40 + two
2 changes: 1 addition & 1 deletion message-index/messages/GHC-44432/let-binding/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ MissingBinding.hs:6:5: error: [GHC-44432]
|
6 | two :: Integer
| ^^^
```
```
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module MissingBinding where

someBoolean :: Bool
someBoolean = True
someBoolean = True
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module MissingBinding where

someBoolean :: Bool
someBoolean :: Bool
2 changes: 1 addition & 1 deletion message-index/messages/GHC-44432/toplevel/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ MissingBinding.hs:3:1: error: [GHC-44432]
|
3 | someBoolean :: Bool
| ^^^^^^^^^^^
```
```
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ import Numeric.Natural
factorial :: Natural -> Natural
factorial n
| n == 0 = 1
| otherwise = n * factorial (n - 1)
| otherwise = n * factorial (n - 1)
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ import Numeric.Natural
factorial :: Natural -> Natural
fatcorial n
| n == 0 = 1
| otherwise = n * factorial (n - 1)
| otherwise = n * factorial (n - 1)
2 changes: 1 addition & 1 deletion message-index/messages/GHC-44432/typo/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ MissingBinding.hs:5:1: error: [GHC-44432]
|
5 | factorial :: Natural -> Natural
| ^^^^^^^^^
```
```
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ fortytwo :: Integer
fortytwo = 40 + two
where
two :: Integer
two = 2
two = 2
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ module MissingBinding where
fortytwo :: Integer
fortytwo = 40 + two
where
two :: Integer
two :: Integer
2 changes: 1 addition & 1 deletion message-index/messages/GHC-44432/where-clause/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ MissingBinding.hs:6:5: error: [GHC-44432]
|
6 | two :: Integer
| ^^^
```
```

0 comments on commit 29c8b77

Please sign in to comment.