|
From: | Piotr Held |
Subject: | [Octave-bug-tracker] [bug #51532] Function in '+' package argument lookup fails |
Date: | Mon, 24 Jul 2017 14:51:19 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36 |
Follow-up Comment #2, bug #51532 (project octave): Just for clarity this bug is a direct result of the solution to Bug #51192 <https://savannah.gnu.org/bugs/?51192>. I am attaching a hack to make my tests pass and a proof-of-concept. However, I do not believe this is the proper implementation. The way the hack works is it asks the interpreter (the one defined 'globally') what the load_path is and the asks the load_path whether a package that has the name: 'expr-&gt;name()' exists. If yes then 'indexing_object = false'. I do not exactly know how this should be implemented actually. Should there be some code like meta.package in Matlab? (file #41319) _______________________________________________________ Additional Item Attachment: File name: hack.diff Size:0 KB _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?51532> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |