-
Bug
-
Resolution: Done
-
Medium
-
None
-
None
A simple test model:
container foo { leaf foo { type enumeration { enum "foo"; } } }
results in compilation failure:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project mdsal-binding-test-model: Compilation failure: Compilation failure: [ERROR] /home/nite/odl/mdsal/binding/mdsal-binding-test-model/target/generated-sources/mdsal-binding/org/opendaylight/yang/gen/v1/opendaylight/nested/types/norev/Foo.java:[98,69] cannot find symbol [ERROR] symbol: class Foo [ERROR] location: interface org.opendaylight.yang.gen.v1.opendaylight.nested.types.norev.Foo [ERROR] /home/nite/odl/mdsal/binding/mdsal-binding-test-model/target/generated-sources/mdsal-binding/org/opendaylight/yang/gen/v1/opendaylight/nested/types/norev/Foo.java:[31,12] interface org.opendaylight.yang.gen.v1.opendaylight.nested.types.norev.Foo is already defined in package org.opendaylight.yang.gen.v1.opendaylight.nested.types.norev
- blocks
-
MDSAL-320 Binding V1 fails to generate code for nested enumeration/union construct
- Resolved