Title: Changing value of custom directive in template causes prod build failing. · Issue #32761 · angular/angular · GitHub
Open Graph Title: Changing value of custom directive in template causes prod build failing. · Issue #32761 · angular/angular
X Title: Changing value of custom directive in template causes prod build failing. · Issue #32761 · angular/angular
Description: 🐞 bug report Affected Package The issue is caused by package @angular/compiler Is this a regression? No Description If there is custom directive in template and you assign new value to it in template prod build fails. 🔬 Minimal Reproduct...
Open Graph Description: 🐞 bug report Affected Package The issue is caused by package @angular/compiler Is this a regression? No Description If there is custom directive in template and you assign new value to it in templa...
X Description: 🐞 bug report Affected Package The issue is caused by package @angular/compiler Is this a regression? No Description If there is custom directive in template and you assign new value to it in templa...
Opengraph URL: https://github.com/angular/angular/issues/32761
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Changing value of custom directive in template causes prod build failing. ","articleBody":"# 🐞 bug report\r\n\r\n### Affected Package\r\n\r\n\u003c!-- ✍️edit: --> The issue is caused by package @angular/compiler\r\n\r\n\r\n### Is this a regression?\r\n\r\n\u003c!-- ✍️--> No\r\n\r\n\r\n### Description\r\n\r\n\u003c!-- ✍️--> If there is custom directive in template and you assign new value to it in template prod build fails.\r\n\r\n\r\n## 🔬 Minimal Reproduction\r\n\r\nRepository with example: https://github.com/mohaxspb/ng-var-directive-issue\r\n\r\nTo get error just run `ng build --prod`\r\n\r\n## 🔥 Exception or Error\r\n\u003cpre>\u003ccode>\r\nERROR in Cannot assign to a reference or variable!\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: 8.3.4\r\nNode: 10.15.3\r\nOS: win32 x64\r\nAngular: 9.0.0-next.6+80.sha-df1c456.with-local-changes\r\n... animations, bazel, common, compiler, compiler-cli, core\r\n... elements, forms, language-service, localize\r\n... platform-browser, platform-browser-dynamic, platform-server\r\n... platform-webworker, platform-webworker-dynamic, router\r\n... service-worker, upgrade\r\n\r\nPackage Version\r\n-----------------------------------------------------------\r\n@angular-devkit/architect 0.803.4\r\n@angular-devkit/build-angular 0.803.4\r\n@angular-devkit/build-optimizer 0.803.4\r\n@angular-devkit/build-webpack 0.803.4\r\n@angular-devkit/core 8.3.4\r\n@angular-devkit/schematics 8.3.4\r\n@angular/cli 8.3.4\r\n@ngtools/webpack 8.3.4\r\n@schematics/angular 8.3.4\r\n@schematics/update 0.803.4\r\nrxjs 6.4.0\r\ntypescript 3.5.3\r\nwebpack 4.39.2\r\n\u003c/code>\u003c/pre>\r\n\r\n**Anything else relevant?**\r\n\r\nI'm in progress with PR with fix for it","author":{"url":"https://github.com/mohaxspb","@type":"Person","name":"mohaxspb"},"datePublished":"2019-09-18T22:37:51Z","url":"https://github.com/angular/angular/issues/32761"}
| 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:8b03955a-d12c-41d9-4e5e-5f3d9159f358 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | C3FC:EDA7A:183602A:1EC1CB7:6B01400B |
| html-safe-nonce | fcbd8812e7b6aad160903470564730656985dbb3586f5ed7f08ee0f98c6dd7b2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDM0ZDOkVEQTdBOjE4MzYwMkE6MUVDMUNCNzo2QjAxNDAwQiIsInZpc2l0b3JfaWQiOiI2MTMyMzI4MTkzNjIyODg0MzYzIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a0ba8484d39777a846f1a7ec55a73784a6dbd3b4eaa692237276ecd238770c70 |
| hovercard-subject-tag | issue:495487006 |
| 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/32761/issue_layout |
| twitter:image | https://opengraph.githubassets.com/770064ce9da0940fca75542c2b6ed6b64213604043971c4b9c3e94edd89d66f3/angular/angular/issues/32761 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/770064ce9da0940fca75542c2b6ed6b64213604043971c4b9c3e94edd89d66f3/angular/angular/issues/32761 |
| og:image:alt | 🐞 bug report Affected Package The issue is caused by package @angular/compiler Is this a regression? No Description If there is custom directive in template and you assign new value to it in templa... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mohaxspb |
| 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 | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width