Wow, I expected the compiler to handle this with flying colours. I hope it's a bug and is meant to work.