bugGNU Octave - Bugs: bug #37592, calling test on a builtin shows a...


bug #37592: calling test on a builtin shows a misleading error message

Submitted by:  Mike Miller <mtmiller>
Submitted on:  Thu Oct 18 00:52:49 2012  
Category: InterpreterSeverity: 2 - Minor
Priority: 5 - NormalItem Group: Feature Request
Status: FixedAssigned to: Mike Miller <mtmiller>
Originator Name: Open/Closed: Closed
Release: devOperating System: Any

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Sun Dec 9 23:30:51 2012, comment #1:

Pushed the changeset


Mike Miller <mtmiller>
Project AdministratorIn charge of this item.
Thu Oct 18 00:52:49 2012, original submission:

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

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.

Mike Miller <mtmiller>
Project AdministratorIn charge of this item.


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by mtmiller (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun Dec 9 23:30:51 2012mtmillerStatusNone=>Fixed
      Assigned toNone=>mtmiller

    Back to the top

    Powered by Savane 3.1-cleanup1