New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ng 8 + ivy: Component inheritance binding error #30754
Comments
Thanks for reporting. Inheritance should be supported in the template type checker, as long as the base class is statically known (it should't be some dynamically computed expression). In this case however, it looks like the problem is that the base class is not declared in an NgModule, which currently means its metadata (the details on inputs, outputs etc.) cannot be retrieved. This metadata is required for template type-checking purposes, so that's where the false positive originates. We'll have to revisit this machinery a bit to fix the issue. |
I should mention that you should be able to workaround the issue by disabling the template type checker. In |
Tracked in FW-1352 |
I have tried now |
The same error was reported here #30080. |
@kemsky Thanks for linking. Yes, your issue has the same root cause, only now do I understand what is happening exactly. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
馃悶 bug report
Affected Package
The issue is caused by package @angular/....Is this a regression?
It work when not using Ivy.Description
馃敩 Minimal Reproduction
Abstract class
Component
It works with
<dum-child value="test"></dum-child>
Create an error:
<dum-child [value]="'test'"></dum-child>
馃敟 Exception or Error
馃實 Your Environment
Angular Version:
Anything else relevant?
The text was updated successfully, but these errors were encountered: