RE: Character index vs Column number in GHC error messages

From: Krasimir Angelov [mailto:kr.angelov@gmail.com]
The difference comes from the tab characters which can have different width depending from the editor settings. For such reason all compilers, which I am aware of, display the character index instead of column number. ... GHC displays the column number instead and this confuses the editors.
Dude! Don't use tabs :-) ***************************************************************** Confidentiality Note: The information contained in this message, and any attachments, may contain confidential and/or privileged material. It is intended solely for the person(s) or entity to which it is addressed. Any review, retransmission, dissemination, or taking of any action in reliance upon this information by persons or entities other than the intended recipient(s) is prohibited. If you received this in error, please contact the sender and delete the material from any computer. *****************************************************************

2005/8/31, Bayley, Alistair
From: Krasimir Angelov [mailto:kr.angelov@gmail.com]
The difference comes from the tab characters which can have different width depending from the editor settings. For such reason all compilers, which I am aware of, display the character index instead of column number. ... GHC displays the column number instead and this confuses the editors.
Dude! Don't use tabs :-)
This is my preference too but I can't prevent Visual Haskell users to use tabs. :-)
participants (2)
-
Bayley, Alistair
-
Krasimir Angelov