Skip to content

Conversation

alanz
Copy link
Contributor

@alanz alanz commented Aug 26, 2016

GHC 8.0 uses an error message of the form

/home/alanz/mysrc/github/alanz/ghc-exactprint/tests/Test.hs:99:3: warning: [-Wunused-matches]
    Defined but not used: ‘prettyRoundTripTests’

The word "warning" no longer has an initial capital letter.

GHC 8.0 uses an error message of the form

```
/home/alanz/mysrc/github/alanz/ghc-exactprint/tests/Test.hs:99:3: warning: [-Wunused-matches]
    Defined but not used: ‘prettyRoundTripTests’
```

The word "warning" no longer has an initial capital letter.
inf-haskell.el Outdated
`(("^ERROR \"\\(.+?\\)\"\\(:\\| line \\)\\([0-9]+\\) - " 1 3)
;; Format of error messages used by GHCi.
("^\\(.+?\\):\\([0-9]+\\):\\(\\([0-9]+\\):\\)?\\( \\|\n *\\)\\(Warning\\)?"
("^\\(.+?\\):\\([0-9]+\\):\\(\\([0-9]+\\):\\)?\\( \\|\n *\\)\\(.arning\\)?"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about [Ww]?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That was my first idea, but there is so much escaping going on in the regex I was not sure if any would be needed. Will update.

@gracjan gracjan merged commit 3bab7f1 into haskell:master Aug 27, 2016
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