Update LDM-2019-04-15.md

This commit is contained in:
Julien Couvreur 2019-04-18 15:09:09 -07:00 committed by GitHub
parent 4cc6d73a76
commit 4de63daefe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -159,8 +159,11 @@ It's agreed that we will remove this part of the spec and keep our current imple
A small note that there were the following changes or refinements for pattern-based Index/Range:
- All members in the pattern must be instance members - If a Length method is found but it has
the wrong return type, continue looking for Count - The indexer used for the Index pattern must
have exactly one int parameter - The Slice method used for the Range pattern must have exactly
- All members in the pattern must be instance members
- If a Length method is found but it has
the wrong return type, continue looking for Count
- The indexer used for the Index pattern must
have exactly one int parameter
- The Slice method used for the Range pattern must have exactly
two int parameters - When looking for the pattern members, we look for original definitions, not
constructed members
constructed members