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

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

[Octave-bug-tracker] [bug #42735] subclass inheritence: symbol ops (e.g.


From: Markus Mützel
Subject: [Octave-bug-tracker] [bug #42735] subclass inheritence: symbol ops (e.g., plus, mtimes) do not respect superiorto
Date: Thu, 4 Oct 2018 16:05:18 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:63.0) Gecko/20100101 Firefox/63.0

Follow-up Comment #17, bug #42735 (project octave):

This doesn't seem to work on Windows with a version from the default branch
(hg id 3f2282954600).
The failing tests are:

>>>>> processing
D:\Repositories\Octave\test\octave-2018-10-04-20-46-w64_clean\octave-2018-10-04-20-46-w64\mingw64\share\octave\5.0.0\etc\tests\fixed\classes\classes.tst
***** assert <*42735> (isequal (class (A + B), 'Snork'))
!!!!! regression: https://octave.org/testfailure/?42735
invalid conversion from class to double
shared variables   scalar structure containing the fields:

    A =

      <class Snork>

    B =

      <class CPrecedenceTester1>

***** assert <*42735> (isequal (B + A, 'CPrecedenceTester1'))  % idem
!!!!! regression: https://octave.org/testfailure/?42735
plus method not defined for CPrecedenceTester1 class
shared variables   scalar structure containing the fields:

    A =

      <class Snork>

    B =

      <class CPrecedenceTester1>

***** assert <*42735> (isequal (A + B, 'CPrecedenceTester2'))
!!!!! regression: https://octave.org/testfailure/?42735
plus method not defined for CPrecedenceTester2 class
shared variables   scalar structure containing the fields:

    A =

      <class Snork>

    B =

      <class CPrecedenceTester2>

***** assert <*42735> (isequal (B + A, 'CPrecedenceTester2'))
!!!!! regression: https://octave.org/testfailure/?42735
plus method not defined for CPrecedenceTester2 class
shared variables   scalar structure containing the fields:

    A =

      <class Snork>

    B =

      <class CPrecedenceTester2>

***** assert <*42735> (isequal (class (A + B), 'Snork'))
!!!!! regression: https://octave.org/testfailure/?42735
invalid conversion from class to double
shared variables   scalar structure containing the fields:

    A =

      <class Snork>

    B =

      <class CPrecedenceTester3>

***** assert <*42735> (isequal (class (B + A), 'Snork'))
!!!!! regression: https://octave.org/testfailure/?42735
invalid conversion from class to double
shared variables   scalar structure containing the fields:

    A =

      <class Snork>

    B =

      <class CPrecedenceTester3>


Is the code for the precedence rules platform dependent? Or is this a
different bug?


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?42735>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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