move indices comment into plain comment

This commit is contained in:
Erik Krogh Kristensen
2020-08-17 15:43:43 +02:00
parent 0f87a89fd1
commit 83ed41b247

View File

@@ -857,10 +857,11 @@ class TupleTypeExpr extends @tupletypeexpr, TypeExpr {
/**
* Gets the name of the `n`th tuple member, starting at 0.
* Only has a result if the tuple members are named.
*
* Type element names are at indices -1, -2, -3, ...
*/
Identifier getElementName(int n) { result = getChild(-(n + 1)) and n >= 0 }
Identifier getElementName(int n) {
// Type element names are at indices -1, -2, -3, ...
result = getChild(-(n + 1)) and n >= 0
}
}
/**