[Chapel Merge] Add a test locking in that the issue with inherite

Branch: refs/heads/master
Revision: 2c97002
Author: lydia-duncan
Log Message:

Merge pull request #17903 from lydia-duncan/addTests

Add a test locking in that the issue with inherited type methods has been fixed
[new test, not reviewed]

Not sure what fixed it, but glad I checked before trying to solve it. I think it may have
happened at the same time Cray/chapel-private#1731 was resolved

Verified a fresh checkout worked

Modified Files:
A test/visibility/import/enablesUnqualified/inheritance-typeMethod.chpl

A test/visibility/import/enablesUnqualified/inheritance-typeMethod.compopts
A test/visibility/import/enablesUnqualified/inheritance-typeMethod.good

Compare: https://github.com/chapel-lang/chapel/compare/921a653824de...2c9700216dcb