| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Codecov Report
@@ Coverage Diff @@
## master #1248 +/- ##
=======================================
Coverage 86.25% 86.25%
=======================================
Files 1 1
Lines 291 291
=======================================
Hits 251 251
Misses 40 40
Flags with carried forward coverage won't be shown. Click here to find out more. Continue to review full report at Codecov.
|
Sorry, something went wrong.
|
What about interfaces? |
Sorry, something went wrong.
That is already handled by #1246. The calculation of whether something has an indexer or not is done the same way for classes and interfaces. It is all based on the implementation class. |
Sorry, something went wrong.
|
@danabr just to clarify. So if I have interface IExtra: IIndexed with indexer defined in IIndexed, but not in IExtra, and in Python do extra = IExtra(extra_impl) (e.g. explicit cast to IExtra), I would be able to do extra[1234]? If so, I think a test for that scenario should be added to test_indexer_accessed_through_interface introduced in your previous PR. |
Sorry, something went wrong.
If a class A had indexer, and class B derived from it, Python.NET would not consider class B to have any indexer.
|
Yes. The requested test has been added. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
What does this implement/fix? Explain your changes.
If a class A had indexer, and class B derived from it, Python.NET would
not consider class B to have any indexer.
Does this close any currently open issues?
No
Checklist
Check all those that are applicable and complete.