Fixed the type of a function name to avoid confusing the pass to remove free names later on
This commit is contained in:
parent
dd7b0268b2
commit
78c2160eb4
|
@ -294,7 +294,8 @@ functionCall = do funcName <- name
|
|||
Just _ -> return $ A.IntrinsicFunctionCall (A.nameMeta
|
||||
funcName) (A.nameName funcName) es
|
||||
Nothing -> return $
|
||||
A.FunctionCall (A.nameMeta funcName) funcName es
|
||||
A.FunctionCall (A.nameMeta funcName)
|
||||
(funcName {A.nameType = A.FunctionName}) es
|
||||
|
||||
data InnerBlockLineState = Decls | NoMoreDecls | Mixed deriving (Eq)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user