Deshadowing test looks suspicious
In test/samples/classes
there's a test "deshadows method names" which transpiles
var bar = 'x';
class Foo {
bar ( str ) {
return str + 'bar';
}
}
Shouldn't that rather be return str + bar;
to require deshadowing of function bar …
?
I wonder a) whether this is expected b) why the test still succeeds when the method doesn't use the variable.