René's URL Explorer Experiment


Title: Ivy: fullTemplateTypeCheck errors with NgIterable · Issue #33527 · angular/angular · GitHub

Open Graph Title: Ivy: fullTemplateTypeCheck errors with NgIterable · Issue #33527 · angular/angular

X Title: Ivy: fullTemplateTypeCheck errors with NgIterable · Issue #33527 · angular/angular

Description: 🐞 bug report Affected Package The issue is caused by package @angular/compiler Is this a regression? This is introduced by Ivy. Description A component with a template looking like:

...

Open Graph Description: 🐞 bug report Affected Package The issue is caused by package @angular/compiler Is this a regression? This is introduced by Ivy. Description A component with a template looking like:

\r\n {{ total.length }}: {{ user.name }}\r\n\u003c/div>\r\n```\r\n\r\n`ng build --prod` with `fullTemplateTypeCheck: true` throws, as it thinks `length` is not a property of `total`.\r\n\r\n\r\n## 🔬 Minimal Reproduction\r\n\r\nhttps://github.com/cexbrayat/ng-iterable\r\n\r\n## 🔥 Exception or Error\r\n\u003cpre>\u003ccode>\r\nERROR in src/app/app.component.html:2:6 - error TS2339: Property 'length' does not exist on type 'NgIterable\u003cany>'.\r\n Property 'length' does not exist on type 'Iterable\u003cany>'.\r\n\r\n2 {{ total.length }}: {{ user.name }}\r\n ~~~~~~~~~~~~~\r\n\r\n src/app/app.component.ts:5:16\r\n 5 templateUrl: './app.component.html',\r\n ~~~~~~~~~~~~~~~~~~~~~~\r\n Error occurs in the template of component AppComponent.\r\n\u003c/code>\u003c/pre>\r\n\r\n\r\n## 🌍 Your Environment\r\n\r\n**Angular Version:**\r\n\u003cpre>\u003ccode>\r\nAngular CLI: 9.0.0-rc.0\r\nNode: 12.12.0\r\nOS: darwin x64\r\nAngular: 9.0.0-rc.0\r\n... animations, cli, common, compiler, compiler-cli, core, forms\r\n... language-service, platform-browser, platform-browser-dynamic\r\n... router\r\n\r\nPackage Version\r\n-----------------------------------------------------------\r\n@angular-devkit/architect 0.900.0-rc.0\r\n@angular-devkit/build-angular 0.900.0-rc.0\r\n@angular-devkit/build-optimizer 0.900.0-rc.0\r\n@angular-devkit/build-webpack 0.900.0-rc.0\r\n@angular-devkit/core 9.0.0-rc.0\r\n@angular-devkit/schematics 9.0.0-rc.0\r\n@ngtools/webpack 9.0.0-rc.0\r\n@schematics/angular 9.0.0-rc.0\r\n@schematics/update 0.900.0-rc.0\r\nrxjs 6.5.3\r\ntypescript 3.6.4\r\nwebpack 4.41.2\r\n\u003c/code>\u003c/pre>\r\n\r\n**Anything else relevant?**\r\n\r\nThis is using ng and CLI `9.0.0-rc.0` and `fTTC`, but *not* using `strictTemplates`.\r\n","author":{"url":"https://github.com/cexbrayat","@type":"Person","name":"cexbrayat"},"datePublished":"2019-11-01T09:45:14Z","url":"https://github.com/angular/angular/issues/33527"}
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:c3bde61f-e017-cbbc-cee5-3d0ec2efc337
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE60E:4279A:D51B84:11F638F:6B010800
html-safe-nonce43e3276a8b020ed0d1f1dc2ff4df34b93ca9edaa13814a82097130b642d619ab
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNjBFOjQyNzlBOkQ1MUI4NDoxMUY2MzhGOjZCMDEwODAwIiwidmlzaXRvcl9pZCI6IjUxOTY5ODQ0MzY1MzY3MDcwNzIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac766a182609ccdaa99057b3e159c7da4e0403c784ee083c65c0b6319582ff1dfc
hovercard-subject-tagissue:516011539
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/33527/issue_layout
twitter:imagehttps://opengraph.githubassets.com/7a64570feaf7b747962a80dcbdc6fcc88ea8a5e46ac2535936b1c7c386a7296e/angular/angular/issues/33527
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7a64570feaf7b747962a80dcbdc6fcc88ea8a5e46ac2535936b1c7c386a7296e/angular/angular/issues/33527
og:image:alt🐞 bug report Affected Package The issue is caused by package @angular/compiler Is this a regression? This is introduced by Ivy. Description A component with a template looking like: