7

Is it wrong that I feel a genuine sense of accomplishment for having once written code so bad it caused an access violation in the compiler?

Comments
  • 0
    @FrodoSwaggins It did actually turn out to be a bug. Fully reproducible on multiple machines. Not Gcc thankfully. The particular language had a special generic type property which could be used in any place the type of it's underlying value was accepted without casting. Strategic usage of overridden method signatures could result in a situation where it would be impossible to determine which signature to use if generic types where provided and the calls were nested (the return type of a method would be "generic"), and someone didn't cater for it. At the very least the code was impossible to compile. Coming up with use cases for the bug report took me a while though xD
Add Comment