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

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

[Octave-bug-tracker] [bug #45496] "error: no default value for argument"


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #45496] "error: no default value for argument" fails to give function/line number/etc
Date: Thu, 09 Jul 2015 00:14:01 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0 Iceweasel/38.1.0

Update of bug #45496 (project octave):

                  Status:                    None => Confirmed              

    _______________________________________________________

Follow-up Comment #1:

The error comes from this line:

http://hg.savannah.gnu.org/hgweb/octave/file/release-4-0-0/libinterp/parse-tree/pt-misc.cc#l203

The error function prints a stack trace by default, but when the error string
ends in a newline it suppresses the stack trace, which is what you're seeing
here.

So it looks like this specific error happens when you call a function with a
colon as the argument value and the function hasn't been declared when a
default argument value. I'm not even sure I've seen that syntax, what is that
supposed to do?

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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