diff --git a/semantic-python/test/Test.hs b/semantic-python/test/Test.hs index 540f37a5b..af691d9f7 100644 --- a/semantic-python/test/Test.hs +++ b/semantic-python/test/Test.hs @@ -29,12 +29,12 @@ import Data.String (fromString) import GHC.Stack import qualified Language.Python.Core as Py import Prelude hiding (fail) +import qualified Source.Span as Source (Span) import Streaming import qualified Streaming.Prelude as Stream import qualified Streaming.Process import System.Directory import System.Exit -import qualified TreeSitter.Span as TS (Span) import qualified TreeSitter.Python as TSP import qualified TreeSitter.Python.AST as TSP import qualified TreeSitter.Unmarshal as TS @@ -100,7 +100,7 @@ fixtureTestTreeForFile fp = HUnit.testCaseSteps (Path.toString fp) $ \step -> wi . runFail . runReader (fromString @Py.SourcePath . Path.toString $ fp) . runReader @Py.Bindings mempty - . Py.compile @(TSP.Module TS.Span) @_ @(Term (Ann :+: Core)) + . Py.compile @(TSP.Module Source.Span) @_ @(Term (Ann :+: Core)) <$> result for_ directives $ \directive -> do