ExpressionError: cannot contain more than one non-case data node statement
at Function.Element.error (/home/src/node_modules/yang-js/lib/element.js:60:15)
at Function.Expression.error (/home/src/node_modules/yang-js/lib/expression.js:191:40)
at Function.resolve (/home/src/node_modules/yang-js/lib/lang/extensions.js:296:22)
at Function.Expression.compile (/home/src/node_modules/yang-js/lib/expression.js:83:15)
at /home/src/node_modules/yang-js/lib/expression.js:98:18
at Array.forEach (<anonymous>)
at Function.Expression.compile (/home/src/node_modules/yang-js/lib/expression.js:97:18)
at /home/src/node_modules/yang-js/lib/expression.js:98:18
at Array.forEach (<anonymous>)
at Function.Expression.compile (/home/src/node_modules/yang-js/lib/expression.js:97:18)
From RFC6020 - the following 2 should be equivalent but the first version without the 'case' gives an error - see Error below
is equivalent to: