Re: NodeInfo confusion

2019-04-15 Thread Beckerle, Mike
I think you are right. SignedInteger probably seemed like a useful trait/base, but really is a mistake given that Integer is signed. From: Sloane, Brandon Sent: Monday, April 15, 2019 2:00:59 PM To: dev@daffodil.apache.org Subject: Re: NodeInfo confusion I

Re: NodeInfo confusion

2019-04-15 Thread Sloane, Brandon
SignedInteger is never actually used (beyond as a glorified alias to Integer in the scala type system). From: Beckerle, Mike Sent: Friday, April 12, 2019 7:21:52 PM To: dev@daffodil.apache.org Subject: Re: NodeInfo confusion Type system matches the dfdl/XML schema

Re: NodeInfo confusion

2019-04-12 Thread Beckerle, Mike
:17 PM Subject: NodeInfo confusion To: dev@daffodil.apache.org I am looking at the type hierarchy defined in NodeInfo and am confused about the Integer type. In NodeInfo.scala we have: protected sealed trait IntegerKind extends SignedInteger.Kind case object Integer extends PrimTypeNode(Decimal,

NodeInfo confusion

2019-04-12 Thread Sloane, Brandon
I am looking at the type hierarchy defined in NodeInfo and am confused about the Integer type. In NodeInfo.scala we have: protected sealed trait IntegerKind extends SignedInteger.Kind case object Integer extends PrimTypeNode(Decimal, List(Long, NonNegativeInteger)) with IntegerKind {