### Nim Version 2.2.4 ### Description ```nim type X = enum a b when pred(a) == b: echo "a" else: echo "b" ``` `pred(a)` is not well-defined - this should fail to compile ### Current Output ```text Compiles ``` ### Expected Output ```text Compile-time error ``` ### Known Workarounds _No response_ ### Additional Information _No response_