Check worked incorrectly in case when argument type and expected type are the same intersection type, which is possible for local variables without explicit type declaration.
Check worked incorrectly in case when argument type and expected type are the same intersection type, which is possible for local variables without explicit type declaration.