diff --git a/src/Parsing/Parser.hs b/src/Parsing/Parser.hs index 885a54568..c79c33926 100644 --- a/src/Parsing/Parser.hs +++ b/src/Parsing/Parser.hs @@ -154,7 +154,7 @@ markdownParser = AssignmentParser MarkdownParser Markdown.assignment -- | A parser for producing specialized (tree-sitter) ASTs. data SomeASTParser where - SomeASTParser :: forall grammar. (Bounded grammar, Enum grammar, Show grammar) + SomeASTParser :: (Bounded grammar, Enum grammar, Show grammar) => Parser (AST [] grammar) -> SomeASTParser