Fix a warning
This commit is contained in:
parent
cb44653e63
commit
a2391deedf
|
@ -299,7 +299,7 @@ nixBinders = (inherit <|> namedVar) `endBy` semi where
|
|||
scope = parens nixExprLoc <?> "inherit scope"
|
||||
|
||||
keyName :: Parser (NKeyName NExprLoc)
|
||||
keyName = (dynamicKey <|> staticKey) where
|
||||
keyName = dynamicKey <|> staticKey where
|
||||
staticKey = do
|
||||
beg <- getPosition
|
||||
StaticKey <$> identifier <*> pure (Just beg)
|
||||
|
|
Loading…
Reference in a new issue