Skip to content

Commit 60a65b1

Browse files
author
Patrick Thomson
committed
expose getTestCorpusDir, though I'm not sure it works under Bazel
1 parent bd4f498 commit 60a65b1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

semantic-ast/app/Main.hs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ main = do
109109
{-# LANGUAGE UndecidableInstances #-}
110110
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
111111

112-
module Language.$language.AST (module Language.$language.AST) where
112+
module Language.$language.AST (module Language.$language.AST, getTestCorpusDir) where
113113

114114
import qualified AST.Parse
115115
import qualified AST.Token
@@ -127,6 +127,8 @@ import qualified GHC.Show
127127
import qualified Prelude as GHC.Classes
128128
import qualified TreeSitter.Node
129129

130+
import TreeSitter.$language (getTestCorpusDir)
131+
130132
debugSymbolNames :: [GHC.Base.String]
131133
debugSymbolNames = debugSymbolNames_0
132134

0 commit comments

Comments
 (0)