1
1
mirror of https://github.com/github/semantic.git synced 2024-11-24 00:42:33 +03:00

parameterize Java program with Err

This commit is contained in:
Ayman Nadeem 2020-04-29 13:06:16 -04:00
parent 1918d8bbde
commit 66111e31f6

View File

@ -11,7 +11,7 @@ import qualified Tags.Tagging.Precise as Tags
import qualified Language.Java.Grammar (tree_sitter_java)
import qualified AST.Unmarshal as TS
newtype Term a = Term { getTerm :: Java.Program a }
newtype Term a = Term { getTerm :: Java.Program Err a }
instance TS.SymbolMatching Term where
matchedSymbols _ = TS.matchedSymbols (Proxy :: Proxy Java.Program)