Hi
I am getting an error when using an extension within augmented list:
augment "/foo:c1/foo:c2" {
list l{
foo:c-define "MY_INTERFACES";
...
Full stack trace:
\yang-js\lib\element.js:128
if ((this.tag != null) && ((ref = this.source.argument) !== 'value' && r
ef !== 'text')) {
^
TypeError: Cannot read property 'argument' of undefined
at Extension.get (C:\Users\m00332040\tmp\node_modules\yang-js\lib\element.js
:128:55)
at Extension.Element.error (C:\Users\m00332040\tmp\node_modules\yang-js\lib\
element.js:62:22)
at Extension.Expression.error (C:\Users\m00332040\tmp\node_modules\yang-js\l
ib\expression.js:191:40)
at Extension.Element (C:\Users\m00332040\tmp\node_modules\yang-js\lib\elemen
t.js:78:20)
at Extension.Expression [as constructor] (C:\Users\m00332040\tmp\node_module
s\yang-js\lib\expression.js:37:40)
at new Extension (C:\Users\m00332040\tmp\node_modules\yang-js\lib\extension.
js:26:39)
at Extension.Element.clone (C:\Users\m00332040\tmp\node_modules\yang-js\lib\
element.js:220:15)
at Extension.Expression.clone (C:\Users\m00332040\tmp\node_modules\yang-js\l
ib\expression.js:58:41)
Hi I am getting an error when using an extension within augmented list:
Full stack trace:
\yang-js\lib\element.js:128 if ((this.tag != null) && ((ref = this.source.argument) !== 'value' && r ef !== 'text')) { ^
TypeError: Cannot read property 'argument' of undefined at Extension.get (C:\Users\m00332040\tmp\node_modules\yang-js\lib\element.js :128:55) at Extension.Element.error (C:\Users\m00332040\tmp\node_modules\yang-js\lib\ element.js:62:22) at Extension.Expression.error (C:\Users\m00332040\tmp\node_modules\yang-js\l ib\expression.js:191:40) at Extension.Element (C:\Users\m00332040\tmp\node_modules\yang-js\lib\elemen t.js:78:20) at Extension.Expression [as constructor] (C:\Users\m00332040\tmp\node_module s\yang-js\lib\expression.js:37:40) at new Extension (C:\Users\m00332040\tmp\node_modules\yang-js\lib\extension. js:26:39) at Extension.Element.clone (C:\Users\m00332040\tmp\node_modules\yang-js\lib\ element.js:220:15) at Extension.Expression.clone (C:\Users\m00332040\tmp\node_modules\yang-js\l ib\expression.js:58:41)
Steps to reproduce:
Best regards Maja