diff --git a/language/parser/parser.go b/language/parser/parser.go
index <HASH>..<HASH> 100644
--- a/language/parser/parser.go
+++ b/language/parser/parser.go
@@ -683,7 +683,7 @@ func parseDirective(parser *Parser) (*ast.Directive, error) {
 func parseType(parser *Parser) (ast.Type, error) {
 	start := parser.Token.Start
 	var ttype ast.Type
-	if skip(parser, lexer.TokenKind[lexer.BRACE_L]) {
+	if skip(parser, lexer.TokenKind[lexer.BRACKET_L]) {
 		t, err := parseType(parser)
 		if err != nil {
 			return t, err
Fix a bug in parser (expected BRACKET_L, got BRACE_L)