On Thu, 26 Jan 2012 00:49:58 +0100, Trass3r <[email protected]> wrote:

In the codebase I have to work with, having the same enum specified in
different places is rather common. Yeah, I hate it. This means I might
have a filter defined using one enum, and the value to filter being a
different type with the same values.

Why don't you fix it then?

I'm not allowed to. The project I'm on has its tasks, and fixing things
in other projects is not one of them, especially when such an easy
workaround exists.

Reply via email to