mirror of
https://github.com/gnustep/libs-steptalk.git
synced 2025-02-19 09:50:43 +00:00
Report unimplemented script methods rather than returning nil
This commit is contained in:
parent
f3ce2b7f32
commit
09841d976e
2 changed files with 17 additions and 5 deletions
|
@ -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>
|
||||
|
||||
|
|
|
@ -170,7 +170,13 @@
|
|||
}
|
||||
|
||||
method = [script methodWithName:methodName];
|
||||
|
||||
if (method == nil)
|
||||
{
|
||||
[pool release];
|
||||
[super forwardInvocation:invocation];
|
||||
return;
|
||||
}
|
||||
|
||||
count = [[invocation methodSignature] numberOfArguments];
|
||||
|
||||
NSDebugLLog(@"STSending",
|
||||
|
|
Loading…
Reference in a new issue