mirror of
https://github.com/github/semantic.git
synced 2024-11-28 01:47:01 +03:00
add expectedQualifiedImport
This commit is contained in:
parent
b0e272e91a
commit
5dc46a5f42
@ -95,6 +95,12 @@ expectedReference = do
|
||||
newReference "x" refProperties
|
||||
pure Complete
|
||||
|
||||
expectedQualifiedImport :: Has ScopeGraph sig m => m Result
|
||||
expectedQualifiedImport = do
|
||||
let refProperties = Props.Reference ScopeGraph.Identifier ScopeGraph.Default (Span (Pos 0 0) (Pos 0 3))
|
||||
newReference (Name.name "cheese") refProperties
|
||||
withScope "cheese" $ do
|
||||
newReference (Name.name "ints") refProperties
|
||||
pure Complete
|
||||
|
||||
expectedFunctionArg :: (Has ScopeGraph sig m) => m Result
|
||||
|
Loading…
Reference in New Issue
Block a user