1
1
mirror of https://github.com/github/semantic.git synced 2024-12-29 18:06:14 +03:00

Remember to call locate on False.

This commit is contained in:
Patrick Thomson 2019-09-18 13:52:00 -04:00
parent fc98de9e4d
commit 483494ccfd

View File

@ -114,7 +114,7 @@ instance Compile (Py.ExpressionList Span) where
pure . locate it $ do' (fmap (Nothing :<-) actions)
instance Compile (Py.False Span) where compile _ = pure (bool False)
instance Compile (Py.False Span) where compile it = pure . locate it $ bool False
instance Compile (Py.Float Span)
instance Compile (Py.ForStatement Span)