Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#250 ConditionObject raises 93.903 on 'supplier' message

v3.1beta
closed
nobody
Classes (182)
5
2012-08-14
2007-04-03
No

-- O.K. now try it with a condition object
co=createException()
say "co :" co
say "co~isInstanceOf(.directory):" co~isInstanceOf(.directory)
say "co~hasmethod('supplier') :" co~hasmethod('supplier')

s=co~supplier -- this creates a condition 93.903 !

::routine createException
signal on any
say 1/0
any:
return condition('Object')

/* Running this program on 3.1.2 RC1 yields:

co : a Directory
co~isInstanceOf(.directory): 1
co~hasmethod('supplier') : 1
7 - s=co~supplier -- this creates a condition 93.903 !
Error 93 running F:\work\log4ooRexx\tests\bug\test2co.rex line 7: Incorrect call to method
Error 93.903: Missing argument in method; argument 1 is required

*/

Discussion

  • Rick McGuire
    Rick McGuire
    2007-04-03

    Logged In: YES
    user_id=1125291
    Originator: NO

    The condition object was incorrectly getting created with entries that had no values, resulting in an error while the supplier method was attempting to gather the index/value information.

     


Anonymous


Cancel   Add attachments