[YANGTOOLS-1368] Do not build FeatureEffectiveStatement for unsupported features Created: 22/Nov/21 Updated: 03/Feb/22 Resolved: 22/Nov/21 |
|
| Status: | Resolved |
| Project: | yangtools |
| Component/s: | parser |
| Affects Version/s: | None |
| Fix Version/s: | 8.0.0, 7.0.10 |
| Type: | Improvement | Priority: | Medium |
| Reporter: | Robert Varga | Assignee: | Robert Varga |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Description |
|
EffectiveModelContext does not have means to communicate which features are supported: we prune the statements which are eliminated by if-feature, but we still expose the FeatureEffectiveStatements. Improve this by disabling feature statements which are not supported. |