We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
module Test where mkDiag :: DynFlags -> T.Text -> ErrMsg -> Maybe FileDiagnostic mkDiag dflags src e = case toDSeverity $ errMsgSeverity e of Nothing -> Nothing Just bSeverity -> Just $ (toNormalizedFilePath $ srcSpanToFilename $ errMsgSpan e,) Diagnostic { _range = srcSpanToRange $ errMsgSpan e , _severity = Just bSeverity , _source = Just src , _message = T.pack $ Out.showSDoc dflags (ErrUtils.pprLocErrMsg e) , _code = Nothing , _relatedInformation = Nothing }
The text was updated successfully, but these errors were encountered:
Simple case:
foo = (a $ b $ c d, )
The problem is HSE doesn't perform fixity resolution inside tuple sections, as per haskell-suite/haskell-src-exts#434
Sorry, something went wrong.
Confirmed works with HEAD that doesn't use HSE for parsing, so fixed in the next release.
No branches or pull requests
The text was updated successfully, but these errors were encountered: