New Issue: Visibility of tertiary operator methods should be impacted by use/import limitation clauses

17474, "lydia-duncan", "Visibility of tertiary operator methods should be impacted by use/import limitation clauses", "2021-03-26T21:48:54Z"

Summary of Problem

Operator method calls need some additional adjustment to their visibility when a use/import statement with a limitation clause would normally impact the visibility of methods on that type.

This should work regardless of whether the type on which the operator is defined matches any of the argument types. As a result, it is not a simple update, but hopefully not intractable either.

Steps to Reproduce

Compile command:
chpl foo.chpl

Associated Future Test(s):
test/visibility/only/canSeeTertiaryOperator.chpl #17476

Configuration Information

  • Output of chpl --version: chapel 1.25.0 (pre-release)