Remove module identifier from general list of identifiers
We want to only allow module identifier productions where they could possibly occur in the spec, rather than grouping them generally with all other identifiers. This is because module identifier and constructor identifer utilize the same underlying pattern.
@@ -429,8 +429,7 @@ module.exports = grammar({
_identifier: $ => prec(1, choice(
$.variable_identifier,
- $.constructor_identifier,
- $.module_identifier
+ $.constructor_identifier
)),
simple_type: $ => prec.right(seq(
