Do not create effective copy for unsupported statements 87/107387/5
authorSangwook Ha <sangwook.ha@verizon.com>
Thu, 10 Aug 2023 23:15:25 +0000 (16:15 -0700)
committerRobert Varga <nite@hq.sk>
Tue, 17 Oct 2023 15:51:12 +0000 (15:51 +0000)
commite82d91a6c79d0f210c74e459b4363d5e1112128a
tree7ea9ff16712ebe65598b28a9e1c21ebfa9a84dc8
parentd728004c2714beba145407eb6b6401a79af4e2d2
Do not create effective copy for unsupported statements

If we are encountering a statement which is not supported, we should not
create an effective copy of it for the purposes of comparison.

JIRA: YANGTOOLS-1532
Change-Id: I4407e38f2a62c911b653191bf7c6cfd82ba0225e
Signed-off-by: Sangwook Ha <sangwook.ha@verizon.com>
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
parser/yang-parser-reactor/src/main/java/org/opendaylight/yangtools/yang/parser/stmt/reactor/StatementContextBase.java
parser/yang-parser-rfc7950/src/test/java/org/opendaylight/yangtools/yang/stmt/YT1532Test.java [new file with mode: 0644]
parser/yang-parser-rfc7950/src/test/resources/bugs/YT1532/augment-with-description-all-leafs-with-if-feature/foo.yang [new file with mode: 0644]
parser/yang-parser-rfc7950/src/test/resources/bugs/YT1532/augment-with-description-no-leaf-with-if-feature/foo.yang [new file with mode: 0644]
parser/yang-parser-rfc7950/src/test/resources/bugs/YT1532/augment-with-no-description-all-leafs-with-if-feature/foo.yang [new file with mode: 0644]
parser/yang-parser-rfc7950/src/test/resources/bugs/YT1532/augment-with-no-description-one-leaf-with-if-feature/foo.yang [new file with mode: 0644]