Closed asedunov closed 1 year ago
Crystal compiler reports error when case-expressions contains duplicate conditions in when/in. For example the code above should be highlighted as red:
case
when
in
case x; when {1, 2}; 2; when {1, 2}; end
Crystal compiler reports error when
case
-expressions contains duplicate conditions inwhen
/in
. For example the code above should be highlighted as red: