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

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

[Octave-bug-tracker] [bug #37592] calling test on a builtin shows a misl


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #37592] calling test on a builtin shows a misleading error message
Date: Thu, 18 Oct 2012 00:52:50 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.4 (KHTML, like Gecko) Chrome/22.0.1229.94 Safari/537.4

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

                 Summary: calling test on a builtin shows a misleading error
message
                 Project: GNU Octave
            Submitted by: mtmiller
            Submitted on: Wed 17 Oct 2012 08:52:49 PM EDT
                Category: Interpreter
                Severity: 2 - Minor
                Priority: 5 - Normal
              Item Group: Feature Request
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

The error message in the test function could be more helpful when calling it
on a builtin:


octave:1> test besselj
????? besselj does not exist in path
octave:2> test svd
????? svd does not exist in path
octave:3> test urlread
????? urlread source code with tests for dynamically linked function not
found


It would be clearer if test reported that besselj and svd are builtins,
similar to the error message shown for urlread as a compiled file in the
path.

For that matter, it could report builtins, operators, and keywords the same
way that the type command does.

I'll fix this if no one beats me to it.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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