1
0
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:
Kevin Glynn 2011-03-15 10:48:06 +01:00
parent 50bee76c4d
commit 7ca153b7bc
3 changed files with 3 additions and 3 deletions

View File

@ -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()

View File

@ -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()

View File

@ -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()