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

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

[Octave-bug-tracker] [bug #46536] bad indexing produces different error


From: Lachlan Andrew
Subject: [Octave-bug-tracker] [bug #46536] bad indexing produces different error message in dev than default
Date: Fri, 27 Nov 2015 03:17:26 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0

Follow-up Comment #3, bug #46536 (project octave):

The attached patch considers all cases with a single numeric index (e.g.,
x.foo(-1), x.foo.bar(-1), x.foo(-1,1).bar), but gives something generic for
anything with two numeric indices.

The code would be slightly simpler if we lump together anything with multiple
levels, but a the risk of slight code bloat, I'd go for keeping it.  (I wrote
it before I saw your suggestion.)  Let me know if you want it trimmed.

L

(file #35574)
    _______________________________________________________

Additional Item Attachment:

File name: patch_46536.txt                Size:12 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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