Skip to content

Commit e945175

Browse files
committed
Restore position info to import parser
1 parent 2bafbae commit e945175

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Language/PureScript/Parser/Declarations.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ parseFixityDeclaration = do
140140
<*> (reserved "as" *> parseOperator)
141141

142142
parseImportDeclaration :: TokenParser Declaration
143-
parseImportDeclaration = do
143+
parseImportDeclaration = withSourceSpan PositionedDeclaration $ do
144144
(mn, declType, asQ) <- parseImportDeclaration'
145145
return $ ImportDeclaration mn declType asQ
146146

0 commit comments

Comments
 (0)