diff options
author | Som Snytt <som.snytt@gmail.com> | 2014-12-06 03:11:46 -0800 |
---|---|---|
committer | Som Snytt <som.snytt@gmail.com> | 2014-12-12 18:29:10 -0800 |
commit | e320d81f4eecbec139b1bfc4010f54136bd7a308 (patch) | |
tree | 451d0f4d2242b758a160b0251d4dec2ae2da5a94 /src | |
parent | d9f623db0ff1d20040939fbb9e15d4d4e5887c75 (diff) | |
download | scala-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')
0 files changed, 0 insertions, 0 deletions