You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
classD{staticA=classextendsD.B{[D.D](){}// should be an error}staticB=class{}staticC={[D.D]: 1,
...{get[D.D](){return0;}}// should be an error};staticD='';[foo](){}// should have an error}letbar={[foo](){}// should have an error}letfoo=1;
Expected behavior:
The lines marked with // should be an error should have an error.
Actual behavior:
Currently there's no error at all. After #29136 lands the lines with the comments are missing an error.
TypeScript Version: 3.3.0-dev.20181222
Search Terms:
Code
Taken from the tests added in #29136
Expected behavior:
The lines marked with
// should be an error
should have an error.Actual behavior:
Currently there's no error at all. After #29136 lands the lines with the comments are missing an error.
Playground Link: https://agentcooper.github.io/typescript-play/#code/MYGwhgzhAEAi0G8BQ1XQgFzBglsaAgtALzSiQwCmAHhpQHYAmMsAdAEKIpo8DabsALoAKAJSIAvtAD009AAsA9gFcQjaACNK0MPWiUATgcUHuqCWfRZc+TqXJRJlzNjzQAwiS48+AwQC5oAEYAGkseVkiEAHNKDGh+ViExRAM45QM9AAYAbgkpWQUVNU1tXX0jE0sJHOdrN3hSAHIm2qkgA
Related Issues: #29135
The text was updated successfully, but these errors were encountered: