
22 Mar
2012
22 Mar
'12
7:13 a.m.
On 20/03/2012 20:12, Simon Hengel wrote:
Hi, ghc --interactive now behaves different in regards to line numbers in error messages than previous versions.
They are now incremented with each evaluated expression.
$ ghc --interactive -ignore-dot-ghci Prelude> foo
<interactive>:2:1: Not in scope: `foo' Prelude> bar
<interactive>:3:1: Not in scope: `bar'
Is there a way to disable this (or alternatively reset the counter for a running session)?
Sorry, there's no way to reset it at the moment. What do you need that for? Cheers, Simon