Re: [netmod] type equivalence

2021-02-27 Thread Martin Björklund
"Rob Wilton \(rwilton\)" wrote: > Sorry, but I wish to raise another question regarding changing types. > > Are you allowed to change from one type to another type that > 'contains' the first type. > > typedef smallInt { > type int8 { range "0..100"; }; > } > > typedef biggerInt { > type

Re: [netmod] type equivalence

2021-02-27 Thread Rob Wilton (rwilton)
Sorry, but I wish to raise another question regarding changing types. Are you allowed to change from one type to another type that 'contains' the first type. typedef smallInt { type int8 { range "0..100"; }; } typedef biggerInt { type int8 { range "0..200"; }; } Can I change leaf foo