mirror of
https://github.com/github/semantic.git
synced 2024-12-22 06:11:49 +03:00
Add an eval instance for QualifiedExport
This commit is contained in:
parent
15b073485e
commit
368dc93e91
@ -240,6 +240,9 @@ instance Ord1 QualifiedExport where liftCompare = genericLiftCompare
|
||||
instance Show1 QualifiedExport where liftShowsPrec = genericLiftShowsPrec
|
||||
|
||||
instance Evaluatable QualifiedExport where
|
||||
eval (QualifiedExport from exportSymbols) = do
|
||||
traverse_ addExport exportSymbols
|
||||
unit
|
||||
|
||||
-- | Import declarations (symbols are added directly to calling environment).
|
||||
--
|
||||
|
Loading…
Reference in New Issue
Block a user