Skip to content

Commit 574a9d7

Browse files
committed
Added explanation
1 parent 46af7db commit 574a9d7

File tree

1 file changed

+17
-0
lines changed
  • message-index/messages/GHC-21231/escape-seq-oor

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
title: "Typo: lower-case class name"
3+
---
4+
5+
## Error Message
6+
7+
```
8+
EscapeSeqOutOfRange.hs:4:13: error:
9+
numeric escape sequence out of range at character '2'
10+
|
11+
4 | x = '\1114112'
12+
| ^
13+
```
14+
## Explanation
15+
16+
This example shows that a numeric escape sequence with a value higher than
17+
`1114111` throws an error, but numbers lower than that don't.

0 commit comments

Comments
 (0)