Scala 2.11 deprecated the Position object so it is no longer public.
However, we still need a way to decode the integer positions that contain
both line/col information. Scala provided no other way to decode this, so
this copies the relevant bits from:
Scala 2.11 deprecated the Position object so it is no longer public. However, we still need a way to decode the integer positions that contain both line/col information. Scala provided no other way to decode this, so this copies the relevant bits from:
https://github.com/scala/scala/blob/2.11.x/src/library/scala/io/Position.scala
Note that if scala ever changes thes values, line/column numbers will be off