1
1
mirror of https://github.com/github/semantic.git synced 2024-11-23 16:37:50 +03:00

new kinds need to be invoked with KindSignatures

This commit is contained in:
Ayman Nadeem 2020-04-22 13:55:12 -04:00
parent a6625780e9
commit f06ae2dbd6
2 changed files with 2 additions and 1 deletions

View File

@ -13,7 +13,7 @@ import qualified Language.Python.Tags as PyTags
import Scope.Graph.Convert
import qualified Tags.Tagging.Precise as Tags
newtype Term a = Term { getTerm :: Py.Module a }
newtype Term a = Term { getTerm :: Py.Module Err a }
instance TS.SymbolMatching Term where
matchedSymbols _ = TS.matchedSymbols (Proxy :: Proxy Py.Module)

View File

@ -6,6 +6,7 @@
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE FlexibleInstances #-}
{-# LANGUAGE GeneralizedNewtypeDeriving #-}
{-# LANGUAGE KindSignatures #-}
{-# LANGUAGE MultiParamTypeClasses #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE TypeApplications #-}