LeafEffectiveStatement should be a DataTreeEffectiveStatement 07/85007/1
authorRobert Varga <robert.varga@pantheon.tech>
Tue, 8 Oct 2019 11:21:14 +0000 (13:21 +0200)
committerRobert Varga <nite@hq.sk>
Wed, 9 Oct 2019 05:35:04 +0000 (05:35 +0000)
commitd3d555303fc547437a3476cdabc0ef59dc8efcbc
treeeef652e20facdad98d294d0e7aa2fd3780e0469d
parent57509fbd80d2f235ec25e5593f67a337427f5b9c
LeafEffectiveStatement should be a DataTreeEffectiveStatement

This is a conflicting model, which should understand it has conflicting
children.

JIRA: YANGTOOLS-857
Change-Id: I1bca05f9a3f053419d518ef2c9966978901b419f
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit 3c57ac547d198bf5cb6d358519789a028cd63623)
yang/yang-model-api/src/main/java/org/opendaylight/yangtools/yang/model/api/stmt/LeafEffectiveStatement.java
yang/yang-parser-rfc7950/src/test/java/org/opendaylight/yangtools/yang/stmt/YT857Test.java [new file with mode: 0644]
yang/yang-parser-rfc7950/src/test/resources/bugs/YT857/foo.yang [new file with mode: 0644]