That's a bug (it should raise un exception). Raise an issue for this ?