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: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: ConfirmedAssigned to: None
Originator Name: Open/Closed: Open
Release: devOperating 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>
Project Member
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 File(s):
   
   
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
  • -unavailable- added by jwe (Updated the item)
  • -unavailable- added by lachlan (Posted a comment)
  • -unavailable- added by caliari (Submitted the item)
  •  

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

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 29 Jul 2016 07:06:56 PM UTCjweCategoryNone=>Interpreter
    Thu 02 Jun 2016 11:01:26 AM UTClachlanStatusNone=>Confirmed
      Release4.0.0=>dev
      Summarynested function not found=>2nd-level nested function not found in anonymous function
    Thu 02 Jun 2016 08:03:19 AM UTCcaliariAttached File-=>Added main.m, #37348

    Back to the top


    Powered by Savane 3.1-cleanup1