mirror of
https://github.com/github/semantic.git
synced 2025-01-05 22:28:10 +03:00
Rb.Assignment
This commit is contained in:
parent
83b3c6a0a0
commit
23df2d5316
@ -365,7 +365,7 @@ instance ToTags Rb.Assignment where
|
||||
introduceLhsLocals xs = for_ xs $ \x -> case x of
|
||||
EPrj (Rb.Lhs (Prj (Rb.Variable (Prj Rb.Identifier {text})))) -> modify (text :)
|
||||
EPrj Rb.DestructuredLeftAssignment {extraChildren} -> introduceLhsLocals extraChildren
|
||||
Prj Rb.RestAssignment {extraChildren = Just (Rb.Lhs (Prj (Rb.Variable (Prj Rb.Identifier {text}))))} -> modify (text :)
|
||||
EPrj Rb.RestAssignment {extraChildren = Just (Parse.Success (Rb.Lhs (Prj (Rb.Variable (Prj Rb.Identifier {text})))))} -> modify (text :)
|
||||
_ -> pure ()
|
||||
|
||||
instance ToTags Rb.OperatorAssignment where
|
||||
|
Loading…
Reference in New Issue
Block a user