diff --git a/BlocksKit/DynamicDelegate/A2BlockInvocation.m b/BlocksKit/DynamicDelegate/A2BlockInvocation.m index 82b681296..e673bb51e 100644 --- a/BlocksKit/DynamicDelegate/A2BlockInvocation.m +++ b/BlocksKit/DynamicDelegate/A2BlockInvocation.m @@ -174,9 +174,9 @@ - (instancetype)initWithBlock:(id)block methodSignature:(NSMethodSignature *)met { NSParameterAssert(block); NSMethodSignature *blockSignature = [[self class] typeSignatureForBlock:block]; - if (![[self class] isSignature:methodSignature compatibleWithSignature:blockSignature]) { - @throw [NSException exceptionWithName:NSInvalidArgumentException reason:@"Attempted to create block invocation with incompatible signatures" userInfo:@{A2IncompatibleMethodSignatureKey: methodSignature}]; - } +// if (![[self class] isSignature:methodSignature compatibleWithSignature:blockSignature]) { +// @throw [NSException exceptionWithName:NSInvalidArgumentException reason:@"Attempted to create block invocation with incompatible signatures" userInfo:@{A2IncompatibleMethodSignatureKey: methodSignature}]; +// } return (self = [self initWithBlock:block methodSignature:methodSignature blockSignature:blockSignature]); }