microsoft / microsoft/TypeScript
TS18030: An optional chain cannot contain private identifiers
Offen
@armanio123 arbeitet bereits daran.
Seit 10.2.2021.
Bug
Domain: classes
Rescheduled
- Vorherrschende Sprache
- Go
- Sterne
- 111k
- Forks
- 14.3k
- Ø Merge
- 2 T. 4 Std.
- Gemergte PRs (30 T.)
- 132
Beschreibung
Bug Report
🔎 Search Terms
TS18030
🕗 Version & Regression Information
v4.1.3
- This is a crash
- This changed between versions ______ and _______
- This is the behavior in every version I tried, and I reviewed the FAQ for entries about _________
- I was unable to test this on prior versions because _______
⏯ Playground Link
Playground link with relevant code
💻 Code
class A {
#p = 1;
m (a? :A) {
return a?.#p;
}
}
🙁 Actual behavior
TS18030
🙂 Expected behavior
no error
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Bewertung
Dieses Issue wurde noch nicht bewertet.