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

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

[Octave-bug-tracker] [bug #57297] empty cell index returns an error


From: Philip Nienhuis
Subject: [Octave-bug-tracker] [bug #57297] empty cell index returns an error
Date: Sat, 23 Nov 2019 18:20:35 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0

Update of bug #57297 (project octave):

        Operating System:               GNU/Linux => Any                    

    _______________________________________________________

Follow-up Comment #1:

Yeah this doesn't work anymore as of
http://hg.savannah.gnu.org/hgweb/octave/rev/3140380861ce. See bug #56167 for
some background.

Some weeks ago I've entered a bug report for a consequence of this (empty {}
indexing) for an OF package (generate_html) where I hit this (bug #56853) and
Markus Mützel supplied a patch for it in bug #57119.

I think this is going to be a case of "Won't fix" or "Invalid" but I'll let
the core devs decide.

BTW, Matlab doesn't accept that construct:

>> format compact
>> a = {1}
a =
  1×1 cell array
    {[1]}
>> a{}
 a{}
   ↑
Error: Invalid expression. When calling a function or indexing a variable, use
parentheses.
Otherwise, check for mismatched delimiters.



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57297>

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




reply via email to

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