Grammar: Fix "optionalProjection" rule (KT-22676)

This commit is contained in:
Alexey Belkov
2018-02-03 22:50:08 +03:00
committed by Sergey Igushkin
parent d6496814b2
commit d0f3001fd5
+2 -2
View File
@@ -34,10 +34,10 @@ userType
;
simpleUserType
: SimpleName ("<" (optionalProjection type | "*"){","} ">")?
: SimpleName ("<" (projection? type | "*"){","} ">")?
;
optionalProjection
projection
: varianceAnnotation
;