mirror of
https://github.com/github/semantic.git
synced 2024-12-15 01:51:39 +03:00
Merge branch 'heap-frames' of https://github.com/github/semantic into heap-frames
This commit is contained in:
commit
522c87e627
@ -355,6 +355,8 @@ instance ( Member Fresh sig
|
||||
|
||||
scopedEnvironment _ = pure Nothing
|
||||
|
||||
object _ = pure Object
|
||||
|
||||
asString t = unify t String $> ""
|
||||
asPair t = do
|
||||
t1 <- fresh
|
||||
|
@ -174,7 +174,6 @@ instance Evaluatable Import where
|
||||
else do
|
||||
let scopeEdges = Map.singleton ScopeGraph.Import [ moduleScope ]
|
||||
scopeAddress <- newScope scopeEdges
|
||||
scope <- lookupScope scopeAddress
|
||||
withScope moduleScope $
|
||||
for_ xs $ \Alias{..} ->
|
||||
insertImportReference (Reference aliasName) (Declaration aliasValue) scopeAddress
|
||||
|
Loading…
Reference in New Issue
Block a user