Skip to content

Conversation

@toku-sa-n
Copy link
Collaborator

foo.hs

{-# LANGUAGE CPP #-}
#if 0
#else
AAAAAA=1=1=1=1=1=1=323q5
#endif

Before

%cat foo.hs|stack run --silent
hindent: Parse failed near (1,10)
CallStack (from HasCallStack):
  error, called at src/main/Main.hs:55:24 in main:Main

After

%cat foo.hs|stack run --silent
hindent: Parse failed near (4,10)
CallStack (from HasCallStack):
  error, called at src/main/Main.hs:55:24 in main:Main

@mihaimaruseac mihaimaruseac merged commit 434ecb3 into mihaimaruseac:master Dec 27, 2022
@toku-sa-n toku-sa-n deleted the error_position branch December 27, 2022 14:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants