Commit 53bead9e authored by Kirchmayr's avatar Kirchmayr
Browse files

Fixed position handling for expressions in Checks.SyntaxCheck, fixes #1350

parent 59d75a24
......@@ -751,7 +751,7 @@ checkVariable v
return $ Variable v
[Constr _ _] -> return $ Constructor v
[GlobalVar _ _] -> return $ Variable v
[LocalVar v' _] -> return $ Variable $ qualify v'
[LocalVar v' _] -> return $ Variable $ qualify v' @> v
[RecordLabel _ _] -> return $ Variable v
rs -> do
m <- getModuleIdent
......@@ -760,7 +760,7 @@ checkVariable v
return $ Variable v
[Constr _ _] -> return $ Constructor v
[GlobalVar _ _] -> return $ Variable v
[LocalVar v' _] -> return $ Variable $ qualify v'
[LocalVar v' _] -> return $ Variable $ qualify v' @> v
[RecordLabel _ _] -> return $ Variable v
rs' -> do report $ errAmbiguousIdent rs' v
return $ Variable v
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment