Appears to be a compiler bug