Project

General

Profile

Bug #1498

SDAG methods are not properly inherited by chare subclasses

Added by Eric Mikida 6 months ago. Updated 3 months ago.

Status:
New
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
04/11/2017
Due date:
% Done:

0%


Description

chare A {
  entry A();
  entry void foo();
  entry void bar() { when foo() {} };
};

chare B : A {
  entry B();
  entry void baz() { when foo() {} };
};

The above example fails to compile, because at the level of charmxi, B doesn't have a foo() method since it doesn't see the one declared in the parent class.
Declaring a foo() method in B will get it to compile, but won't trigger whens correctly. If you have a CProxy_B, and call bar() and foo() on it, the when in bar() will never trigger because CProxy_B::foo() doesn't trigger it properly.

History

#1 Updated by Phil Miller 5 months ago

  • Description updated (diff)

#2 Updated by Eric Bohm 3 months ago

  • Assignee set to Eric Mikida

Also available in: Atom PDF