[Chapel Merge] dyno: Fix a recursion bug for interfaces (#19640)

Branch: refs/heads/main
Revision: ba8d797
Author: dlongnecke-cray
Link: dyno: Fix a recursion bug for interfaces by dlongnecke-cray · Pull Request #19640 · chapel-lang/chapel · GitHub
Log Message:

Merge pull request #19640 from dlongnecke-cray/dyno-fix-recursion-bug

dyno: Fix a recursion bug for interfaces (#19640)

Fix a bug in which two accessors on the interface class were
incorrectly calling the stmt accessor.

Add the buggy cases to the parsing test for interfaces.

Signed-off-by: David Longnecker dlongnecke-cray@users.noreply.github.com

Modified Files:
M compiler/dyno/include/chpl/uast/Interface.h

M compiler/dyno/test/parsing/testParseInterface.cpp

Compare: https://github.com/chapel-lang/chapel/compare/24b041633409...ba8d797da50b