diff options
author | Som Snytt <som.snytt@gmail.com> | 2014-01-28 01:37:11 -0800 |
---|---|---|
committer | Som Snytt <som.snytt@gmail.com> | 2014-01-28 09:42:32 -0800 |
commit | 8053682d4ff0dcff3c1846a1bac9c718c92cc704 (patch) | |
tree | afb0b22c79c389997ad37585b2c01603a5f4284b /test/files/neg/t2421b.scala | |
parent | f22ddce265e8622e95f5e9cab4d38168bf2c3bf8 (diff) | |
download | scala-8053682d4ff0dcff3c1846a1bac9c718c92cc704.tar.gz scala-8053682d4ff0dcff3c1846a1bac9c718c92cc704.tar.bz2 scala-8053682d4ff0dcff3c1846a1bac9c718c92cc704.zip |
SI-8092 More verify for f-interpolator
Attempt to verify the nooks and crannies of the format string.
Allows all syntax in the javadoc, including arg indexes. If the
specifier after an arg has an index that doesn't refer to the arg,
a warning is issued and the missing `%s` is prepended (just as
for a part with a leading `%n`).
Other enhancements include detecting that a `Formattable` wasn't
supplied to `%#s`.
Error messages attempt to be pithy but descriptive.
Diffstat (limited to 'test/files/neg/t2421b.scala')
0 files changed, 0 insertions, 0 deletions