Title: Compilation breaks for 9.0rc14. · Issue #35139 · angular/angular · GitHub
Open Graph Title: Compilation breaks for 9.0rc14. · Issue #35139 · angular/angular
X Title: Compilation breaks for 9.0rc14. · Issue #35139 · angular/angular
Description: 🐞 bug report Affected Package Is this a regression? Yes, the previous version in which this bug was not present was: v8.2.11 I have built this project with v9 for the first time. Description A clear and concise description of the problem...
Open Graph Description: 🐞 bug report Affected Package Is this a regression? Yes, the previous version in which this bug was not present was: v8.2.11 I have built this project with v9 for the first time. Description A clea...
X Description: 🐞 bug report Affected Package Is this a regression? Yes, the previous version in which this bug was not present was: v8.2.11 I have built this project with v9 for the first time. Description A clea...
Opengraph URL: https://github.com/angular/angular/issues/35139
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Compilation breaks for 9.0rc14.","articleBody":"\u003c!--🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅\r\n\r\nOh hi there! 😄\r\n\r\nTo expedite issue processing please search open and closed issues before submitting a new one.\r\nExisting issues often contain information about workarounds, resolution, or progress updates.\r\n\r\n🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅🔅-->\r\n\r\n\r\n# 🐞 bug report\r\n\r\n### Affected Package\r\n\u003c!-- Can you pin-point one or more @angular/* packages as the source of the bug? -->\r\n\u003c!-- ✍️edit: --> \r\n\r\n\r\n### Is this a regression?\r\n\r\n\u003c!-- Did this behavior use to work in the previous version? -->\r\n\u003c!-- ✍️--> Yes, the previous version in which this bug was not present was: v8.2.11\r\nI have built this project with v9 for the first time.\r\n\r\n### Description\r\n\r\n\u003c!-- ✍️--> A clear and concise description of the problem...\r\nI have searched my whole codebase for \"#option\" variable in htmls but I have not found anything.\r\nSame error occurs in browser console when I open app with ng serve or after dev build.\r\nAlso error stack also does not point towards anything in my code.\r\n## 🔬 Minimal Reproduction\r\n\u003c!--\r\nPlease create and share minimal reproduction of the issue starting with this template: https://stackblitz.com/fork/angular-issue-repro2\r\n-->\r\n\u003c!-- ✍️--> https://stackblitz.com/...\r\n\r\n\u003c!--\r\nIf StackBlitz is not suitable for reproduction of your issue, please create a minimal GitHub repository with the reproduction of the issue.\r\nA good way to make a minimal reproduction is to create a new app via `ng new repro-app` and add the minimum possible code to show the problem. \r\nShare the link to the repo below along with step-by-step instructions to reproduce the problem, as well as expected and actual behavior.\r\n\r\nIssues that don't have enough info and can't be reproduced will be closed.\r\n\r\nYou can read more about issue submission guidelines here: https://github.com/angular/angular/blob/master/CONTRIBUTING.md#-submitting-an-issue\r\nI updated my app to v9 following steps on update.angular.io.\r\n-->\r\n\r\n## 🔥 Exception or Error\r\n\u003cpre>\u003ccode>\r\n\u003c!-- If the issue is accompanied by an exception or an error, please share it below: -->\r\n\u003c!-- ✍️-->\r\nERROR in Error: Cannot assign value \"$event\" to template variable \"option\". Template variables are read-only.\r\n at _AstToIrVisitor.visitPropertyWrite (D:\\Development\\test\\node_modules\\@angular\\compiler\\bundles\\compiler.umd.js:8617:31)\r\n at PropertyWrite.visit (D:\\Development\\test\\node_modules\\@angular\\compiler\\bundles\\compiler.umd.js:7459:28)\r\n at convertActionBinding (D:\\Development\\test\\node_modules\\@angular\\compiler\\bundles\\compiler.umd.js:8224:49)\r\n at prepareEventListenerParameters (D:\\Development\\test\\node_modules\\@angular\\compiler\\bundles\\compiler.umd.js:16861:27)\r\n at Object.params (D:\\Development\\test\\node_modules\\@angular\\compiler\\bundles\\compiler.umd.js:17952:24)\r\n at D:\\Development\\test\\node_modules\\@angular\\compiler\\bundles\\compiler.umd.js:17725:94\r\n at Array.map (\u003canonymous>)\r\n at D:\\Development\\test\\node_modules\\@angular\\compiler\\bundles\\compiler.umd.js:17725:60\r\n at D:\\Development\\test\\node_modules\\@angular\\compiler\\bundles\\compiler.umd.js:17014:87\r\n at Array.map (\u003canonymous>)\r\n at TemplateDefinitionBuilder.buildTemplateFunction (D:\\Development\\test\\node_modules\\@angular\\compiler\\bundles\\compiler.umd.js:17014:60)\r\n at D:\\Development\\test\\node_modules\\@angular\\compiler\\bundles\\compiler.umd.js:17558:60\r\n at D:\\Development\\test\\node_modules\\@angular\\compiler\\bundles\\compiler.umd.js:16992:81\r\n at Array.forEach (\u003canonymous>)\r\n at TemplateDefinitionBuilder.buildTemplateFunction (D:\\Development\\test\\node_modules\\@angular\\compiler\\bundles\\compiler.umd.js:16992:37)\r\n at D:\\Development\\test\\node_modules\\@angular\\compiler\\bundles\\compiler.umd.js:17558:60\r\n at D:\\Development\\test\\node_modules\\@angular\\compiler\\bundles\\compiler.umd.js:16992:81\r\n at Array.forEach (\u003canonymous>)\r\n at TemplateDefinitionBuilder.buildTemplateFunction (D:\\Development\\test\\node_modules\\@angular\\compiler\\bundles\\compiler.umd.js:16992:37)\r\n at Object.compileComponentFromMetadata (D:\\Development\\test\\node_modules\\@angular\\compiler\\bundles\\compiler.umd.js:18643:58)\r\n at ComponentDecoratorHandler.compile (D:\\Development\\test\\node_modules\\@angular\\compiler-cli\\src\\ngtsc\\annotations\\src\\component.js:534:34)\r\n at _loop_2 (D:\\Development\\test\\node_modules\\@angular\\compiler-cli\\src\\ngtsc\\transform\\src\\compilation.js:542:53)\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\n\u003c!-- run `ng version` and paste output below -->\r\n\u003c!-- ✍️-->\r\n\r\n _ _ ____ _ ___\r\n / \\ _ __ __ _ _ _| | __ _ _ __ / ___| | |_ _|\r\n / △ \\ | '_ \\ / _` | | | | |/ _` | '__| | | | | | |\r\n / ___ \\| | | | (_| | |_| | | (_| | | | |___| |___ | |\r\n /_/ \\_\\_| |_|\\__, |\\__,_|_|\\__,_|_| \\____|_____|___|\r\n |___/\r\n\r\n\r\nAngular CLI: 9.0.0-rc.12\r\nNode: 12.3.1\r\nOS: win32 x64\r\n\r\nAngular: 9.0.0-rc.14\r\n... animations, common, compiler, compiler-cli, core, forms\r\n... language-service, platform-browser, platform-browser-dynamic\r\n... router, service-worker\r\nIvy Workspace: Yes\r\n\r\nPackage Version\r\n------------------------------------------------------------\r\n@angular-devkit/architect 0.900.0-rc.12\r\n@angular-devkit/build-angular 0.900.0-rc.12\r\n@angular-devkit/build-optimizer 0.900.0-rc.12\r\n@angular-devkit/build-webpack 0.900.0-rc.12\r\n@angular-devkit/core 9.0.0-rc.12\r\n@angular-devkit/schematics 9.0.0-rc.12\r\n@angular/cdk 9.0.0-rc.9\r\n@angular/cli 9.0.0-rc.12\r\n@angular/material 9.0.0-rc.9\r\n@angular/material-moment-adapter 9.0.0-rc.9\r\n@ngtools/webpack 9.0.0-rc.12\r\n@schematics/angular 9.0.0-rc.12\r\n@schematics/update 0.900.0-rc.12\r\nrxjs 6.5.4\r\ntypescript 3.7.5\r\nwebpack 4.41.2\r\n\u003c/code>\u003c/pre>\r\n\r\n**Anything else relevant?**\r\n\u003c!-- ✍️Is this a browser specific issue? If so, please specify the browser and version. -->\r\n\r\n\u003c!-- ✍️Do any of these matter: operating system, IDE, package manager, HTTP server, ...? If so, please mention it below. -->","author":{"url":"https://github.com/himanshugarg574","@type":"Person","name":"himanshugarg574"},"datePublished":"2020-02-04T07:40:31Z","url":"https://github.com/angular/angular/issues/35139"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:ac4d3896-ae71-8987-b859-282178b8f72a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B234:28815B:1299193:18C4E6D:6B0121B6 |
| html-safe-nonce | 902ad7c2aa6a230b05ee28a2ca6e345cbe42064c002ebb7b49297eb559740b8f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMjM0OjI4ODE1QjoxMjk5MTkzOjE4QzRFNkQ6NkIwMTIxQjYiLCJ2aXNpdG9yX2lkIjoiNjc3MTMxMjY3NDYzOTc4MjMyNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1cfd33a5a5014932e47767b270671dab1e3cc9dbd36a3a65a392085b2c259faa |
| hovercard-subject-tag | issue:559540806 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angular/35139/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d1e90ce8e6df4c4e30e8f3add306adde68eb821c68a0dba64b70fd00d9a94ca3/angular/angular/issues/35139 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d1e90ce8e6df4c4e30e8f3add306adde68eb821c68a0dba64b70fd00d9a94ca3/angular/angular/issues/35139 |
| og:image:alt | 🐞 bug report Affected Package Is this a regression? Yes, the previous version in which this bug was not present was: v8.2.11 I have built this project with v9 for the first time. Description A clea... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | himanshugarg574 |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angular git https://github.com/angular/angular.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 24195339 |
| octolytics-dimension-repository_nwo | angular/angular |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24195339 |
| octolytics-dimension-repository_network_root_nwo | angular/angular |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width