1
1
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:
joshvera 2018-12-05 15:09:46 -05:00
commit 522c87e627
2 changed files with 2 additions and 1 deletions

View File

@ -355,6 +355,8 @@ instance ( Member Fresh sig
scopedEnvironment _ = pure Nothing
object _ = pure Object
asString t = unify t String $> ""
asPair t = do
t1 <- fresh

View File

@ -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