mirror of
https://github.com/twiglet/cs2j.git
synced 2025-01-18 13:15:17 +01:00
There are no commas between multiple where clauses in a type parameter constraint
This commit is contained in:
parent
50bee76c4d
commit
7ca153b7bc
@ -1157,7 +1157,7 @@ variance_annotation:
|
||||
'in' -> IN | 'out' -> OUT;
|
||||
|
||||
type_parameter_constraints_clauses:
|
||||
type_parameter_constraints_clause (',' type_parameter_constraints_clause)* -> type_parameter_constraints_clause+ ;
|
||||
type_parameter_constraints_clause+ ;
|
||||
type_parameter_constraints_clause:
|
||||
'where' type_variable_name ':' type_parameter_constraint_list -> ^(TYPE_PARAM_CONSTRAINT type_variable_name type_parameter_constraint_list?) ;
|
||||
// class, Circle, new()
|
||||
|
@ -898,7 +898,7 @@ variance_annotation:
|
||||
'in' | 'out' ;
|
||||
|
||||
type_parameter_constraints_clauses:
|
||||
type_parameter_constraints_clause (',' type_parameter_constraints_clause)* ;
|
||||
type_parameter_constraints_clause+ ;
|
||||
type_parameter_constraints_clause:
|
||||
'where' type_variable_name ':' type_parameter_constraint_list ;
|
||||
// class, Circle, new()
|
||||
|
@ -819,7 +819,7 @@ public variance_annotation:
|
||||
'in' | 'out' ;
|
||||
|
||||
public type_parameter_constraints_clauses:
|
||||
type_parameter_constraints_clause (',' type_parameter_constraints_clause)* ;
|
||||
type_parameter_constraints_clause+;
|
||||
public type_parameter_constraints_clause:
|
||||
'where' type_variable_name ':' type_parameter_constraint_list ;
|
||||
// class, Circle, new()
|
||||
|
Loading…
x
Reference in New Issue
Block a user