[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #35838] Inconsistency between code and documen
From: |
Sébastien Villemot |
Subject: |
[Octave-bug-tracker] [bug #35838] Inconsistency between code and documentation for array-{as, to}-{scalar, vector} |
Date: |
Wed, 14 Mar 2012 16:35:13 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2 Iceweasel/10.0.2 |
URL:
<http://savannah.gnu.org/bugs/?35838>
Summary: Inconsistency between code and documentation for
array-{as,to}-{scalar,vector}
Project: GNU Octave
Submitted by: svillemot
Submitted on: mer. 14 mars 2012 16:35:12 GMT
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 3.6.1
Operating System: Any
_______________________________________________________
Details:
The documentation contains the warning ID array-to-scalar (and
array-to-vector), but the actual ID raised is array-as-scalar (and
array-as-vector).
The only occurence in the code of the "to" versions is in src/error.cc, where
default warning profile is set up.
There is obviously an inconsistency here.
I would prefer to keep the "as" versions and to drop the "to" versions,
because my code already contains things like:
warning on
warning off Octave:array-as-scalar
(since it is the effective way of preventive these warnings to be disabled in
the current state)
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?35838>
_______________________________________________
Message posté via/par Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #35838] Inconsistency between code and documentation for array-{as, to}-{scalar, vector},
Sébastien Villemot <=