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

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

[Octave-bug-tracker] [bug #46852] error gripe appearing when it seemingl


From: Dan Sebald
Subject: [Octave-bug-tracker] [bug #46852] error gripe appearing when it seemingly shouldn't during length()
Date: Sun, 10 Jan 2016 00:11:15 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 SeaMonkey/2.15

Follow-up Comment #5, bug #46852 (project octave):

How about something like the attached patch?  The change is basically a
warning about using a variable that matches something in the symbol table but
not until it causes a conflict.
  Here is the behavior:


octave:1> ggg = 34
ggg =  34
octave:2> ggg('u')
error: ggg(117): out of bound 1
octave:2> ls = 1
ls =  1
octave:3> ls('u')
error: ls(117): out of bound 1
hint: function ls() may have been inadvertently redefined



(file #35957)
    _______________________________________________________

Additional Item Attachment:

File name: octave-index_error_hint-djs_2016jan09.patch Size:2 KB


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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