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 18 Oct 2012 12:52:49 AM UTC  
 
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 09 Dec 2012 11:30:51 PM UTC, comment #1:

Pushed the changeset

http://hg.savannah.gnu.org/hgweb/octave/rev/a5475ba0d199

Mike Miller <mtmiller>
Project MemberIn charge of this item.
Thu 18 Oct 2012 12:52:49 AM UTC, 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 MemberIn charge of this item.

 

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

Attach File(s):
   
   
Comment:
   

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 09 Dec 2012 11:30:51 PM UTCmtmillerStatusNone=>Fixed
      Assigned toNone=>mtmiller
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup