Skip to content

Warn about empty Char enumerations (#18402)

Currently the "Enumeration is empty" warning (-Wempty-enumerations) only fires for numeric literals. This patch adds support for Char literals so that enumerating an empty list of Chars will also trigger the warning. This is my first GHC MR.

Merge request reports