function(this/**/: string, x: number) {
return this.length;
}
Now try to rename or find all references at /**/.
Expected: Message "You cannot rename this element".
Actual: Rename just the parameter, nothing in the body. Find all references just finds one reference, the definition.
Probably this needs to be classified as ThisKeyword by the parser as long as that doesn't break anything else.
Now try to rename or find all references at
/**/.Expected: Message "You cannot rename this element".
Actual: Rename just the parameter, nothing in the body. Find all references just finds one reference, the definition.
Probably
thisneeds to be classified as ThisKeyword by the parser as long as that doesn't break anything else.