bugGNU Octave - Bugs: bug #50011, failure to report error on...

 
 

bug #50011: failure to report error on conflicting methods for classdef

Submitted by:  A.R. Burgers <arb>
Submitted on:  Tue 10 Jan 2017 08:09:35 AM UTC  
 
Category: InterpreterSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Missed Error or Warning
Status: ConfirmedAssigned to: None
Originator Name: Open/Closed: Open
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Sat 04 Mar 2017 10:07:37 AM UTC, comment #4:

I attached a bit a polished version of my patch

(file #39885)

A.R. Burgers <arb>
Sun 05 Feb 2017 09:21:28 PM UTC, comment #3:

attached file p50011.txt could maybe serve as starting point for a patch. With this patch applied octave run_c.m produces

(file #39674)

A.R. Burgers <arb>
Thu 12 Jan 2017 04:09:24 AM UTC, comment #2:

Confirmed. Octave always uses the first defined method, rather than throwing an error when there are two choices.

Rik <rik5>
Project Administrator
Tue 10 Jan 2017 09:31:17 AM UTC, comment #1:

something went missing ...
matlab R2015B gives:

A.R. Burgers <arb>
Tue 10 Jan 2017 08:09:35 AM UTC, original submission:

Running attached run_c.m gives on octave:

matlab R2015B gives:

A.R. Burgers <arb>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #39885:  p50011_v2.txt added by arb (997B - text/plain)
file #39674:  p50011.txt added by arb (1KiB - text/plain)
file #39418:  sa.m added by arb (74B - d2l/unknowntype)
file #39419:  c.m added by arb (86B - d2l/unknowntype)
file #39420:  sb.m added by arb (74B - d2l/unknowntype)
file #39421:  run_c.m added by arb (16B - d2l/unknowntype)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jwe (Updated the item)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by arb (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 8 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 04 Mar 2017 10:07:37 AM UTCarbAttached File-=>Added p50011_v2.txt, #39885
    Sun 05 Feb 2017 09:21:28 PM UTCarbAttached File-=>Added p50011.txt, #39674
    Tue 17 Jan 2017 03:17:39 PM UTCjweItem GroupIncorrect Result=>Missed Error or Warning
    Thu 12 Jan 2017 04:09:24 AM UTCrik5StatusNone=>Confirmed
    Tue 10 Jan 2017 08:09:35 AM UTCarbAttached File-=>Added sa.m, #39418
      Attached File-=>Added c.m, #39419
      Attached File-=>Added sb.m, #39420
      Attached File-=>Added run_c.m, #39421

    Back to the top


    Powered by Savane 3.1-cleanup1