Re: inconsistent type checking behavior