You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$.constant_function_call,// Out of LRM: original was 'seq($.constant_function_call, optseq('[', $._constant_range_expression, ']'))'
3969
3964
// $._constant_let_expression, // No need to add since it's syntax is the same as a tf_call/constant_function_call (true ambiguity that adds conflicts)
3970
-
seq('(',$.constant_mintypmax_expression,')'),
3965
+
paren_expr($.constant_mintypmax_expression),
3971
3966
$.constant_cast,
3972
3967
$._constant_assignment_pattern_expression,
3973
3968
$.type_reference,
@@ -3986,7 +3981,7 @@ const rules = {
3986
3981
3987
3982
primary: $=>prec('primary',choice(
3988
3983
$.primary_literal,
3989
-
prec.dynamic(1,choice(
3984
+
choice(
3990
3985
seq(
3991
3986
optchoice($.class_qualifier,$.package_scope),
3992
3987
$.hierarchical_identifier,
@@ -3997,13 +3992,13 @@ const rules = {
3997
3992
// the option below fixes things and seems to work well (at the expense of maybe
3998
3993
// some more complexity in the parser)
3999
3994
seq($.implicit_class_handle,optional($.select)),// Out of LRM, but used as a workaround
0 commit comments