Commit 67661b61 authored by Simon Peyton Jones's avatar Simon Peyton Jones

Improved error messages

parent b99d8aa9
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
T8542.hs:6:6: Warning:
Literal 128 of type Int8 overflows
If you are attempting to write a negative literal, use NegativeLiterals
Literal 128 is out of the Int8 range -128..127
If you are trying to write a large negative literal, use NegativeLiterals
T8542.hs:9:5: Warning:
Literal 128 of type Int8 overflows
If you are attempting to write a negative literal, use NegativeLiterals
Literal 128 is out of the Int8 range -128..127
If you are trying to write a large negative literal, use NegativeLiterals
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment