Error message for undeclared collection attribute does not include attribute name

Issue #241 resolved
Jesper Öqvist
created an issue

JastAdd 2.1.13

Test case:

// Test the error message generated for an equation to an undeclared collection attribute.
// .result=JASTADD_ERR_OUTPUT
aspect Test {
  A contributes getNumB() to A.childCounts() for this;
}

Expected output:

Error at tests/coll/undeclared_01f/Test.jrag:4: undeclared collection attribute 'A.childCounts'

Actual output:

Error at tests/coll/undeclared_01f/Test.jrag:4: undeclared collection attribute 'A'

Comments (1)

  1. Log in to comment