<!-- 
RSS generated by JIRA (8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d) at Wed Feb 07 20:55:01 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>OpenDaylight JIRA</title>
    <link>https://jira.opendaylight.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>8.20.10</version>
        <build-number>820010</build-number>
        <build-date>22-06-2022</build-date>
    </build-info>


<item>
            <title>[YANGTOOLS-1044] Rework Uses statement ordering</title>
                <link>https://jira.opendaylight.org/browse/YANGTOOLS-1044</link>
                <project id="10188" key="YANGTOOLS">yangtools</project>
                    <description>&lt;p&gt;Our current implementation of uses statements relies on a rather ugly hack to ensure statements are resolved in definition order, for example in case of:&lt;/p&gt;
&lt;div class=&quot;code panel&quot; style=&quot;border-width: 1px;&quot;&gt;&lt;div class=&quot;codeContent panelContent&quot;&gt;
&lt;pre class=&quot;code-java&quot;&gt;
container foo {
  uses bar;
  uses baz;
}
         
grouping baz {
  leaf baz {
    type string;
  }
}
         
grouping bar {
  leaf bar {
    type string;
  }
}
&lt;/pre&gt;
&lt;/div&gt;&lt;/div&gt;
&lt;p&gt;As the two uses statements are resolved in reverse order, we end up:&lt;/p&gt;
&lt;ol&gt;
	&lt;li&gt;tracking effects of those statements separately&lt;/li&gt;
	&lt;li&gt;re-inline these effects when &apos;foo&apos; is built in EffectiveStatementBase&lt;/li&gt;
&lt;/ol&gt;


&lt;p&gt;Instead of this complicated tracking, we should be able to express a resolution dependency of &apos;uses baz&apos; on &apos;uses bar&apos;, such that &apos;uses baz&apos; is resolved only after &apos;uses bar&apos; &#8211; which will naturally ensure that effectiveStatements are properly ordered.&lt;/p&gt;</description>
                <environment></environment>
        <key id="32224">YANGTOOLS-1044</key>
            <summary>Rework Uses statement ordering</summary>
                <type id="10100" iconUrl="https://jira.opendaylight.org/secure/viewavatar?size=xsmall&amp;avatarId=10310&amp;avatarType=issuetype">Improvement</type>
                                            <priority id="3" iconUrl="https://jira.opendaylight.org/images/icons/priorities/major.svg">Medium</priority>
                        <status id="10003" iconUrl="https://jira.opendaylight.org/images/icons/status_generic.gif" description="">Confirmed</status>
                    <statusCategory id="2" key="new" colorName="blue-gray"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="rovarga">Robert Varga</reporter>
                        <labels>
                            <label>pt</label>
                    </labels>
                <created>Tue, 26 Nov 2019 10:25:04 +0000</created>
                <updated>Thu, 18 Jan 2024 10:42:41 +0000</updated>
                                                            <fixVersion>14.0.0</fixVersion>
                    <fixVersion>13.0.2</fixVersion>
                                    <component>parser</component>
                        <due></due>
                            <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="67463" author="rovarga" created="Tue, 26 Nov 2019 10:26:03 +0000"  >&lt;p&gt;&lt;a href=&quot;https://jira.opendaylight.org/browse/YANGTOOLS-1042&quot; title=&quot;ModuleEffectiveStatement fails to index statements from submodules&quot; class=&quot;issue-link&quot; data-issue-key=&quot;YANGTOOLS-1042&quot;&gt;&lt;del&gt;YANGTOOLS-1042&lt;/del&gt;&lt;/a&gt; started refactoring of the ordering logic to limit scope of state mutation.&lt;/p&gt;</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10003">
                    <name>Relates</name>
                                            <outwardlinks description="relates to">
                                        <issuelink>
            <issuekey id="32221">YANGTOOLS-1042</issuekey>
        </issuelink>
                            </outwardlinks>
                                                        </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                            <customfield id="customfield_11400" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                <customfield id="customfield_10000" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>0|i03q6v:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>