octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #53886] Unable to shadow the disp buit-in func


From: Rafael Laboissiere
Subject: [Octave-bug-tracker] [bug #53886] Unable to shadow the disp buit-in function
Date: Sat, 12 May 2018 17:03:01 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.89 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?53886>

                 Summary: Unable to shadow the disp buit-in function
                 Project: GNU Octave
            Submitted by: rlaboiss
            Submitted on: Sat 12 May 2018 09:02:59 PM UTC
                Category: Octave Function
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Regression
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.4.0
        Operating System: GNU/Linux

    _______________________________________________________

Details:

In Octave 4.2.1, I could shadow the disp function:


$ octave-cli --version | grep ^GNU
GNU Octave, version 4.2.1
$ octave-cli -q
octave:1> function disp (varargin)
printf ("New disp function\n")
endfunction
octave:2> disp (1)
New disp function


However, it does not work in 4.4.0:


$ octave-cli --version | grep ^GNU
GNU Octave, version 4.4.0
$ octave-cli -q
octave:1> function disp (varargin)
printf ("New disp function\n")
endfunction
octave:2> disp (1)
 1


Is this normal or is this a regression?





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53886>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]