mirror of
https://github.com/github/semantic.git
synced 2024-11-29 02:44:36 +03:00
Fix warnings in Language.Python.Core.
This commit is contained in:
parent
1990e2379b
commit
6dcbe96a0c
@ -102,7 +102,6 @@ newtype CompileSum py = CompileSum py
|
||||
|
||||
instance (Generic py, GCompileSum (Rep py)) => Compile (CompileSum py) where
|
||||
compileCC (CompileSum a) cc = gcompileCCSum (from a) cc
|
||||
compileCC (CompileSum a) cc = gcompileCCSum (from a) cc
|
||||
|
||||
deriving via CompileSum (Either l r) instance (Compile l, Compile r) => Compile (Either l r)
|
||||
|
||||
@ -259,7 +258,7 @@ instance Compile (Py.True Span) where
|
||||
instance Compile (Py.TryStatement Span)
|
||||
|
||||
instance Compile (Py.Tuple Span) where
|
||||
compileCC it@Py.Tuple { Py.extraChildren = [] } _ = pure unit
|
||||
compileCC it@Py.Tuple { Py.extraChildren = [] } _ = locate it unit
|
||||
|
||||
compileCC it _
|
||||
= fail ("Unimplemented: non-empty tuple " <> show it)
|
||||
|
Loading…
Reference in New Issue
Block a user