Duplicate documentation comments for inherited attributes

Issue #239 resolved
Jesper Öqvist created an issue

JastAdd 2.1.13

I get duplicate documentation comments generated for some inherited attribute methods.

For example:

  /**
   * @attribute inh
   * @aspect TypeAnalysis
   * @declaredat /home/jesper/git/simplic/src/jastadd/TypeAnalysis.jrag:32
   */
  /**
   * @attribute inh
   * @aspect TypeAnalysis
   * @declaredat /home/jesper/git/simplic/src/jastadd/TypeAnalysis.jrag:32
   */
  @ASTNodeAnnotation.Attribute
  public Type expectedType() {
    Type expectedType_value = getParent().Define_expectedType(this, null);

    return expectedType_value;
  }

The declaration:

  inh Type Expr.expectedType();

Comments (1)

  1. Log in to comment