Update LDM-2019-04-15.md
This commit is contained in:
parent
4cc6d73a76
commit
4de63daefe
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue