Report unimplemented script methods rather than returning nil

This commit is contained in:
Wolfgang Lux 2019-03-25 10:54:17 +01:00
parent f3ce2b7f32
commit 09841d976e
2 changed files with 17 additions and 5 deletions

View file

@ -1,9 +1,15 @@
2019-03-25 Wolfgang Lux <wolfgang.lux@gmail.com>
* STSmalltalkScriptObject.m (forwardInvocation:):
Call super class implementation for unimplemented methods so that they
get reported as unimplemented rather than silently returning nil.
2019-02-22 Wolfgang Lux <wolfgang.lux@gmail.com>
* GNUmakefile:
* NSDictionary+additions.h:
* NSDictionary+additions.m:
Implement Smalltalk collection protocol methods for NSDictionary.
* GNUmakefile:
* NSDictionary+additions.h:
* NSDictionary+additions.m:
Implement Smalltalk collection protocol methods for NSDictionary.
2017-12-27 Wolfgang Lux <wolfgang.lux@gmail.com>

View file

@ -170,7 +170,13 @@
}
method = [script methodWithName:methodName];
if (method == nil)
{
[pool release];
[super forwardInvocation:invocation];
return;
}
count = [[invocation methodSignature] numberOfArguments];
NSDebugLLog(@"STSending",