Lazy inference must be used when type checking definitions in an interface file for backward compatibility.