From d0f3001fd5462ea1e6ff636a1c68c63460b04d24 Mon Sep 17 00:00:00 2001 From: Alexey Belkov Date: Sat, 3 Feb 2018 22:50:08 +0300 Subject: [PATCH] Grammar: Fix "optionalProjection" rule (KT-22676) --- grammar/src/types.grm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/grammar/src/types.grm b/grammar/src/types.grm index 163ea9314e0..ae299a85c24 100644 --- a/grammar/src/types.grm +++ b/grammar/src/types.grm @@ -34,10 +34,10 @@ userType ; simpleUserType - : SimpleName ("<" (optionalProjection type | "*"){","} ">")? + : SimpleName ("<" (projection? type | "*"){","} ">")? ; -optionalProjection +projection : varianceAnnotation ;