diff options
author | Som Snytt <som.snytt@gmail.com> | 2014-07-14 08:02:41 -0700 |
---|---|---|
committer | Som Snytt <som.snytt@gmail.com> | 2014-07-14 20:35:10 -0700 |
commit | 146bdd7073e1184af36d3378595297f3cb92bccf (patch) | |
tree | ecd8f1c37a21ffbf7bcb7e0f226e7852f84b2d69 /test/files/run/t7932.scala | |
parent | b0dd01ebb4b0cc41a6629357522217bfe14821fb (diff) | |
download | scala-146bdd7073e1184af36d3378595297f3cb92bccf.tar.gz scala-146bdd7073e1184af36d3378595297f3cb92bccf.tar.bz2 scala-146bdd7073e1184af36d3378595297f3cb92bccf.zip |
SI-8608 f-interpolator inlines StringOps
Instead of "hi".format(), emit new _root_.s.c.i.StringOps("hi").format(),
to clarify intent and avoid picking up some other implicit enhancement.
A further optimization would be to use String.format directly when
that is possible. The ticket says it is not possible for
```
f"${BigDecimal(3.4)}%e"
```
Diffstat (limited to 'test/files/run/t7932.scala')
0 files changed, 0 insertions, 0 deletions