summaryrefslogtreecommitdiff
path: root/src/library
diff options
context:
space:
mode:
authorSom Snytt <som.snytt@gmail.com>2014-12-06 03:11:46 -0800
committerSom Snytt <som.snytt@gmail.com>2014-12-12 18:29:10 -0800
commite320d81f4eecbec139b1bfc4010f54136bd7a308 (patch)
tree451d0f4d2242b758a160b0251d4dec2ae2da5a94 /src/library
parentd9f623db0ff1d20040939fbb9e15d4d4e5887c75 (diff)
downloadscala-e320d81f4eecbec139b1bfc4010f54136bd7a308.tar.gz
scala-e320d81f4eecbec139b1bfc4010f54136bd7a308.tar.bz2
scala-e320d81f4eecbec139b1bfc4010f54136bd7a308.zip
SI-8538 Test or example for Source.report
It's possible to supply an arbitrary `Positioner` to a custom `Source` that wants to override `report`. This obviates the need to expose the deprecated `Position` class. The default report method consumes the underlying iterator, which is not desirable and produces unexpected results. The expected outcome is that no one uses or extends the legacy position handling code. In 2.12, use a Reporter instead, perhaps. The current API is used by scala-xml's MarkupParser.
Diffstat (limited to 'src/library')
0 files changed, 0 insertions, 0 deletions