We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 820499d commit 67e14caCopy full SHA for 67e14ca
src/Nix/Render.hs
@@ -77,6 +77,9 @@ posAndMsg (SourcePos _ lineNo _) msg = FancyError
77
78
renderLocation :: MonadFile m => SrcSpan -> Doc a -> m (Doc a)
79
renderLocation (SrcSpan (SourcePos file begLine begCol) (SourcePos file' endLine endCol)) msg
80
+ | file == file' && file == "<string>" && begLine == endLine
81
+ = pure $ "In raw input string at position " <> pretty (unPos begCol)
82
+
83
| file /= "<string>" && file == file'
84
= do
85
exist <- doesFileExist file
0 commit comments