René's URL Explorer Experiment


Title: Language service errors on possibly null binding when it's already checked · Issue #18248 · angular/angular · GitHub

Open Graph Title: Language service errors on possibly null binding when it's already checked · Issue #18248 · angular/angular

X Title: Language service errors on possibly null binding when it's already checked · Issue #18248 · angular/angular

Description: I'm submitting a... [ ] Regression (a behavior that used to work and stopped working in a new release) [X] Bug report [ ] Feature request [ ] Documentation issue or request [ ] Support request => Please do not submit support request here...

Open Graph Description: I'm submitting a... [ ] Regression (a behavior that used to work and stopped working in a new release) [X] Bug report [ ] Feature request [ ] Documentation issue or request [ ] Support request => P...

X Description: I'm submitting a... [ ] Regression (a behavior that used to work and stopped working in a new release) [X] Bug report [ ] Feature request [ ] Documentation issue or request [ ] Support request ...

Opengraph URL: https://github.com/angular/angular/issues/18248

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Language service errors on possibly null binding when it's already checked","articleBody":"## I'm submitting a...\r\n\u003c!-- Check one of the following options with \"x\" -->\r\n\u003cpre>\u003ccode>\r\n[ ] Regression (a behavior that used to work and stopped working in a new release)\r\n[X] Bug report  \u003c!-- Please search GitHub for a similar issue or PR before submitting -->\r\n[ ] Feature request\r\n[ ] Documentation issue or request\r\n[ ] Support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question\r\n\u003c/code>\u003c/pre>\r\n\r\n## Current behavior\r\nGiven this component : \r\n\r\n```ts\r\n@Component({\r\n  template: `\u003cdiv *ngIf=\"data\">\u003cp>{{data.title}}\u003c/p>\u003c/div>`\r\n})\r\nexport class TestComponent {\r\n  data: SomeObjectInterface | null;\r\n}\r\n```\r\n\r\nThe language service raises the error `\"The expression might be null\"` on `data.title` but it's already checked by `*ngIf`.\r\n\r\n## Expected behavior\r\nShould not raise an error.\r\n\r\n## Environment\r\n\r\n\u003cpre>\u003ccode>\r\nAngular version: 4.3.1\r\nVS Code Angular Language Service extension 0.1.4\r\n\u003c/code>\u003c/pre>\r\n","author":{"url":"https://github.com/cyrilletuzi","@type":"Person","name":"cyrilletuzi"},"datePublished":"2017-07-20T10:56:45Z","url":"https://github.com/angular/angular/issues/18248"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:c9993859-9218-39fd-a2e7-346ae91a5b8c
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9C00:ADA9D:3909612:4921672:6B01EE55
html-safe-nonce118ed78ef38be0d23b73c3bdff8d4cbfdab24e4661f4f2fbe57b3c1e8bb5a045
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QzAwOkFEQTlEOjM5MDk2MTI6NDkyMTY3Mjo2QjAxRUU1NSIsInZpc2l0b3JfaWQiOiIzMDIyNTQ0ODY5NDEyNDMzNDkzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacac14a07c477c94bdea8b418dd5eedc6d1c2ef5295af8d80ad919576753e1e7c7
hovercard-subject-tagissue:244322784
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/18248/issue_layout
twitter:imagehttps://opengraph.githubassets.com/ae08a72032854d42970749da24bc1a392d58bf2a4abb8d5aee9cdadeb31b3c18/angular/angular/issues/18248
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ae08a72032854d42970749da24bc1a392d58bf2a4abb8d5aee9cdadeb31b3c18/angular/angular/issues/18248
og:image:altI'm submitting a... [ ] Regression (a behavior that used to work and stopped working in a new release) [X] Bug report [ ] Feature request [ ] Documentation issue or request [ ] Support request => P...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamecyrilletuzi
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
go-importgithub.com/angular/angular git https://github.com/angular/angular.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id24195339
octolytics-dimension-repository_nwoangular/angular
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id24195339
octolytics-dimension-repository_network_root_nwoangular/angular
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular/issues/18248#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F18248
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F18248
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=angular%2Fangular
Reloadhttps://github.com/angular/angular/issues/18248
Reloadhttps://github.com/angular/angular/issues/18248
Reloadhttps://github.com/angular/angular/issues/18248
angularhttps://github.com/angular
angularhttps://github.com/angular/angular
Codehttps://github.com/angular/angular
Issues835 (835)https://github.com/angular/angular/issues
Pull requests142 (142)https://github.com/angular/angular/pulls
Discussionshttps://github.com/angular/angular/discussions
Actionshttps://github.com/angular/angular/actions
Projectshttps://github.com/angular/angular/projects
Security and quality40 (40)https://github.com/angular/angular/security
Insightshttps://github.com/angular/angular/insights
https://github.com/angular/angular
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/18248
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/18248
Language service errors on possibly null binding when it's already checkedhttps://github.com/angular/angular/issues/18248#top
area: language-serviceIssues related to Angular's VS Code language servicehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20language-service%22
freq2: mediumhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22freq2%3A%20medium%22
type: bug/fixhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
Backloghttps://github.com/angular/angular/milestone/82
https://github.com/cyrilletuzi
cyrilletuzihttps://github.com/cyrilletuzi
on Jul 20, 2017https://github.com/angular/angular/issues/18248#issue-244322784
mheveryhttps://github.com/mhevery
area: language-serviceIssues related to Angular's VS Code language servicehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20language-service%22
on Jul 26, 2017https://github.com/angular/angular/issues/18248#event-1180791178
https://github.com/cyrilletuzi
cyrilletuzihttps://github.com/cyrilletuzi
on Aug 18, 2017https://github.com/angular/angular/issues/18248#issuecomment-323275864
@chuckjazhttps://github.com/chuckjaz
https://github.com/chuckjaz
chuckjazhttps://github.com/chuckjaz
on Aug 18, 2017https://github.com/angular/angular/issues/18248#issuecomment-323413183
herehttp://www.typescriptlang.org/play/#src=function%20ngIf(condition%3A%20boolean%2C%20cb%3A%20()%20%3D%3E%20void)%20%7B%20if%20(condition)%20cb()%3B%20%7D%0D%0A%0D%0Alet%20data%3A%20%7B%20title%3A%20string%20%7D%20%7C%20undefined%20%3D%20undefined%3B%0D%0A%0D%0AngIf(data%20%3D%3D%20null%2C%20()%20%3D%3E%20data.title)%3B%0D%0A
this playgroundhttp://www.typescriptlang.org/play/#src=class%20TemplateRef%3CT%3E%20%7B%20%7D%0D%0A%0D%0Atype%20NonNull%3CT%3E%20%3D%20T%3B%0D%0A%0D%0Aclass%20NgIfContext%3CT%3E%20%7B%0D%0A%20%20%20%20%24implicit%3A%20NonNull%3CT%3E%3B%0D%0A%7D%0D%0A%0D%0Aclass%20NgIf%3CT%3E%20%7B%0D%0A%20%20%20%20constructor(templateRef%3A%20TemplateRef%3CNgIfContext%3CT%3E%3E)%20%7B%20%7D%0D%0A%0D%0A%20%20%20%20set%20ngIf(condition%3A%20T)%20%7B%20%7D%0D%0A%7D%0D%0A%0D%0Adeclare%20function%20_NgIf%3CT%3E(a%3A%20%7B%20condition%3A%20T%20%7D)%3A%20NgIf%3CT%3E%3B%0D%0Adeclare%20function%20_NgIfContext%3CT%3E(n%3A%20NgIf%3CT%3E)%3A%20NgIfContext%3CT%3E%3B%0D%0A%0D%0Alet%20data%3A%20string%20%7C%20undefined%3B%20%0D%0A%0D%0Aconst%20ngIf%20%3D%20_NgIf(%7B%20condition%3A%20data%20%7D)%3B%0D%0Aconst%20templateContext%20%3D%20_NgIfContext(ngIf)%3B%0D%0Aconst%20d%20%3D%20templateContext.%24implicit!%3B%0D%0A%0D%0A
herehttp://www.typescriptlang.org/play/#src=function%20ngIf%3CT%3E(condition%3A%20T%20%7C%20null%20%20%7C%20undefined%2C%20cb%3A%20(condition%3A%20T)%20%3D%3E%20void)%20%7B%0D%0A%20%20if%20(condition)%20cb(condition)%3B%0D%0A%7D%0D%0A%0D%0Avar%20data%3A%20%7B%20title%3A%20string%20%7D%20%7C%20undefined%3B%0D%0A%0D%0AngIf(data%2C%20data%20%3D%3E%20data.title)%3B
https://github.com/cyrilletuzi
cyrilletuzihttps://github.com/cyrilletuzi
on Aug 18, 2017https://github.com/angular/angular/issues/18248#issuecomment-323426735
chuckjazhttps://github.com/chuckjaz
freq2: mediumhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22freq2%3A%20medium%22
type: bug/fixhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
severity3: brokenhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22severity3%3A%20broken%22
on Dec 7, 2017https://github.com/angular/angular/issues/18248#event-1377938145
ngbothttps://github.com/apps/ngbot
Backloghttps://github.com/angular/angular/milestone/82
on Jan 23, 2018https://github.com/angular/angular/issues/18248#event-1437553283
https://github.com/thw0rted
thw0rtedhttps://github.com/thw0rted
on Feb 27, 2018https://github.com/angular/angular/issues/18248#issuecomment-368940515
https://github.com/cyrilletuzi
cyrilletuzihttps://github.com/cyrilletuzi
on Apr 14, 2018https://github.com/angular/angular/issues/18248#issuecomment-381314423
cyrilletuzihttps://github.com/cyrilletuzi
completedhttps://github.com/angular/angular/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Apr 14, 2018https://github.com/angular/angular/issues/18248#event-1574475046
https://github.com/thw0rted
thw0rtedhttps://github.com/thw0rted
on Apr 16, 2018https://github.com/angular/angular/issues/18248#issuecomment-381540808
https://github.com/nathanosdev
nathanosdevhttps://github.com/nathanosdev
on Jun 23, 2018https://github.com/angular/angular/issues/18248#issuecomment-399703529
@thw0rtedhttps://github.com/thw0rted
https://github.com/angular/vscode-ng-language-servicehttps://github.com/angular/vscode-ng-language-service
https://marketplace.visualstudio.com/items?itemName=Angular.ng-templatehttps://marketplace.visualstudio.com/items?itemName=Angular.ng-template
https://github.com/fetis
fetishttps://github.com/fetis
on Jul 2, 2018https://github.com/angular/angular/issues/18248#issuecomment-401757785
@cyrilletuzihttps://github.com/cyrilletuzi
https://github.com/inmogr
inmogrhttps://github.com/inmogr
on Nov 27, 2018https://github.com/angular/angular/issues/18248#issuecomment-442023596
@chuckjazhttps://github.com/chuckjaz
https://github.com/yoosif0
yoosif0https://github.com/yoosif0
on Mar 19, 2019https://github.com/angular/angular/issues/18248#issuecomment-474210096
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Sep 14, 2019https://github.com/angular/angular/issues/18248#issuecomment-531513065
automatic conversation locking policyhttps://github.com/angular/angular/blob/67d80f/docs/GITHUB_PROCESS.md#conversation-locking
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Sep 14, 2019https://github.com/angular/angular/issues/18248#event-2634331160
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular/issues/18248
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular/issues/18248
area: language-serviceIssues related to Angular's VS Code language servicehttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20language-service%22
freq2: mediumhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22freq2%3A%20medium%22
type: bug/fixhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%2Ffix%22
BacklogNo due datehttps://github.com/angular/angular/milestone/82
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.