kevin.cianfarini
05/12/2025, 10:49 PMkevin.cianfarini
05/12/2025, 10:52 PM-Werror and compilation fails with the else branch saying it’s unnecessary.Anna Kozlova
05/13/2025, 6:58 AMwhen, won't the error go away? I can't reproduce locally and suspect that the highlighting is left from the time when not all enum entries were written.kevin.cianfarini
05/13/2025, 12:36 PMAnna Kozlova
05/13/2025, 12:56 PMkevin.cianfarini
05/13/2025, 12:56 PMAnna Kozlova
05/13/2025, 1:25 PMActual enum might provide more entries than expect enum and thus you would always need else branch. You might want to complain about better error message but it's better to do in #C03PK0PE257 probably. Plugin just shows you compiler's error message.kevin.cianfarini
05/13/2025, 1:27 PM-Werror flag the else branch and fail compilation? Either the compiler or IntelliJ is wrong here and I’m not sure which it is 😅Anna Kozlova
05/13/2025, 1:28 PMelse branch.kevin.cianfarini
05/13/2025, 1:29 PMkevin.cianfarini
05/13/2025, 1:29 PMAnna Kozlova
05/13/2025, 1:29 PMkevin.cianfarini
05/13/2025, 1:29 PM