Skip to content

Commit 9e1acd3

Browse files
committed
Two small fixes to GHC-05380 and GHC-25078
1 parent eaae755 commit 9e1acd3

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

message-index/messages/GHC-05380/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ severity: error
55
introduced: 9.6.1
66
---
77

8-
A newtype constructor can only have a single constructor. If you want multiple
8+
A newtype can only have a single constructor. If you want multiple
99
constructors, you should use `data` instead of `newtype`.
1010

1111
The reason that you need exactly one constructor is that `newtype` constructors

message-index/messages/GHC-25078/example1/after/InvalidPrecedence.hs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
module InvalidPrecedence where
22

3-
module InvalidPrecedence where
4-
53
(⊚‿⊚) :: Int -> Int -> Int
64
(⊚‿⊚) = (+)
75

0 commit comments

Comments
 (0)