Multi-level interface inheritance of collection attribute does not work

Issue #204 resolved
Jesper Öqvist created an issue

JastAdd generates faulty Java code when given an aspect like this:

    interface I { }
    interface J { }
    J implements I;
    A implements J;

    coll Collection<String> I.set() [new HashSet<String>()] with add;
    B contributes getID() to I.set() for a();

The problem is that the collection attribute is not fully weaved into the A class.

Comments (1)

  1. Log in to comment