From: SourceForge.net <no...@so...> - 2010-12-21 20:44:11
|
Bugs item #3141401, was opened at 2010-12-21 20:39 Message generated for change (Comment added) made by gaffe77 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684730&aid=3141401&group_id=119701 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: Interpreter Group: v4.1 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Geoff Stevens (gaffe77) Assigned to: Nobody/Anonymous (nobody) Summary: ::REQUIRES alters behaviour Initial Comment: Running rtest.rex leads to the following output: C:\Users\gs\exlibris\rexx\requirestest>rtest class2 init class1 init REXX-ooRexx_4.1.0(MT) 6.03 5 Dec 2010 class1 test The CLASS2 class class2 test .CLASS1 8 *-* c1 = .class1~new 7 *-* tc2~test Error 97 running C:\Users\gs\exlibris\rexx\requirestest\class2.cls line 8: Object method not found Error 97.1: Object ".CLASS1" does not understand message "NEW" Apparently in class2.cls .class1 is defined as ".CLASS1", not the expected "The CLASS1 Class". This is the same behaviour as when the REQUIRES for class1.cls is missing in class2.cls. Combining both classes with the main procedure in one file leads to working as expected. Combining both classes into one file and REQUIRESing it in the main procedure leads to working as expected. ---------------------------------------------------------------------- >Comment By: Geoff Stevens (gaffe77) Date: 2010-12-21 20:44 Message: This since at least 4.0.1 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684730&aid=3141401&group_id=119701 |