Cast case range expressions to the context type

Description

The second case should be written as case `Bool(1)`..`Bool(2)`.
This is unlikely useful for bool variables, but could be useful for conversion between Int/enum types or different numeric types.

Environment

None

Assignee

Alex Petuschak

Reporter

Alex Petuschak

Labels

None

Git Branch Name

None

GitHub Issue

None

Components

Fix versions

Priority

Low
Configure