bugGNU Octave - Bugs: bug #48086, 2nd-level nested function not...

 
 

bug #48086: 2nd-level nested function not found in anonymous function

Submitted by:  Marco Caliari <caliari>
Submitted on:  Thu 02 Jun 2016 08:03:19 AM UTC  
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Matlab Compatibility
Status:  Confirmed Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  dev Operating System:  GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 02 Jun 2016 11:01:26 AM UTC, comment #1:

Thanks, Marco.

I've checked that nested2 can be accessed directly (not as part of an anonymous function) and that a first-level nested functions can form part of an anonymous function.

I don't think it has got anything to do with being unable to take handles, because it works if this is nested one layer deep instead of two layers deep.

topic: "nested function not found"
-> "2nd-level nested function not found in anonymous function"

Lachlan Andrew <lachlan>
Thu 02 Jun 2016 08:03:19 AM UTC, original submission:

Dear all,

the included code (quite ugly, I admit) does not work on 4.0.0 and 4.1.0+ (nested2 function not found), while it works in Matlab. Is it related to "handles to nested functions not yet supported"? Anyway, I do not get such an error message.

Marco Caliari <caliari>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #37348:  main.m added by caliari (364B - text/x-objcsrc)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Updated the item)
  • -email is unavailable- added by lachlan (Posted a comment)
  • -email is unavailable- added by caliari (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-07-29 jwe CategoryNone => Interpreter
    2016-06-02 lachlan StatusNone => Confirmed
        Release4.0.0 => dev
        Summarynested function not found => 2nd-level nested function not found in anonymous function
    2016-06-02 caliari Attached File- => Added main.m, #37348

    Back to the top


    Powered by Savane 3.3