Details
-
Bug
-
Status: Resolved
-
Resolution: Cannot Reproduce
-
None
-
None
-
None
-
None
-
Operating System: All
Platform: All
-
5712
Description
Using latest Boron snapshots.
Using the following simple module description:
--------------------
module bad {
namespace "urn:opendaylight:bad";
prefix "bad";
revision 2016-04-11
{ description "Initial revision"; }typedef thing
{ type uint32; }typedef thing2
{ type bad:thing; // Error on this line //type thing; }}
---------------
Yangtools apparently fails to compile this. It can't resolve the type reference in the line marked "Error on this line". If I instead comment out that line and comment back in the second line, it compiles without error.
The reason I stated "apparently" is because I see this error when I view the module in the Eclipse YangIDE plugin, but if I build the corresponding project on the command line, I do not see any error for this.