Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
67661b61
Commit
67661b61
authored
Nov 22, 2013
by
Simon Peyton Jones
Browse files
Improved error messages
parent
b99d8aa9
Changes
2
Hide whitespace changes
Inline
Side-by-side
testsuite/tests/numeric/should_compile/T7895.stderr
View file @
67661b61
T7895.hs:10:6: Warning: Literal 300 of type Word8 overflows
T7895.hs:10:6: Warning:
Literal 300 is out of the Word8 range 0..255
T7895.hs:13:6: Warning: Literal -129 of type Int8 overflows
T7895.hs:13:6: Warning:
Literal -129 is out of the Int8 range -128..127
testsuite/tests/numeric/should_compile/T8542.stderr
View file @
67661b61
T8542.hs:6:6: Warning:
Literal 128 of t
yp
e Int8
overflows
If you are
attempt
ing to write a negative literal, use NegativeLiterals
Literal 128
is out
of t
h
e Int8
range -128..127
If you are
try
ing to write a
large
negative literal, use NegativeLiterals
T8542.hs:9:5: Warning:
Literal 128 of t
yp
e Int8
overflows
If you are
attempt
ing to write a negative literal, use NegativeLiterals
Literal 128
is out
of t
h
e Int8
range -128..127
If you are
try
ing to write a
large
negative literal, use NegativeLiterals
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment