mirror of
https://github.com/github/semantic.git
synced 2025-01-05 22:28:10 +03:00
fix introduceLocals
This commit is contained in:
parent
684adce47e
commit
83b3c6a0a0
@ -319,15 +319,20 @@ introduceLocals ::
|
||||
Has (Writer Tags.Tags) sig m,
|
||||
Has (State [Text]) sig m
|
||||
) =>
|
||||
[ [Parse.Err
|
||||
((:+:)
|
||||
[ Parse.Err
|
||||
( (:+:)
|
||||
Rb.BlockParameter
|
||||
(Rb.DestructuredParameter
|
||||
:+: (Rb.HashSplatParameter
|
||||
:+: (Rb.Identifier
|
||||
:+: (Rb.KeywordParameter
|
||||
:+: (Rb.OptionalParameter :+: Rb.SplatParameter)))))
|
||||
Loc)]
|
||||
( Rb.DestructuredParameter
|
||||
:+: ( Rb.HashSplatParameter
|
||||
:+: ( Rb.Identifier
|
||||
:+: ( Rb.KeywordParameter
|
||||
:+: (Rb.OptionalParameter :+: Rb.SplatParameter)
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
Loc
|
||||
)
|
||||
] ->
|
||||
m ()
|
||||
introduceLocals params = for_ params $ \param -> case param of
|
||||
|
Loading…
Reference in New Issue
Block a user