summaryrefslogtreecommitdiff
path: root/test/files/run
diff options
context:
space:
mode:
authorDominik Gruntz <dominik.gruntz@fhnw.ch>2012-03-28 16:58:32 +0200
committerDominik Gruntz <dominik.gruntz@fhnw.ch>2012-03-28 16:58:32 +0200
commit9a59a2ac54cc8e4c437dc62e651597ec56288072 (patch)
tree0d0b497da6ae3b7fc5fc5637648368f57fdbb28a /test/files/run
parentfdbca65fd1d50582f336e6ebed3466d6073f6f52 (diff)
downloadscala-9a59a2ac54cc8e4c437dc62e651597ec56288072.tar.gz
scala-9a59a2ac54cc8e4c437dc62e651597ec56288072.tar.bz2
scala-9a59a2ac54cc8e4c437dc62e651597ec56288072.zip
SIP-11 String Interpolation Simplification
Changed StringContext.f which implements the formatted string interpolator. Any '%' not in formatting position is left in the resulting string literally. However, instead of adding '%s' format holders and extending the args with "%" expressions, these '%' are replaced by '%%'. The formatter then converts '%%' (percent formatter) to the literal % (\u0025). The interpolation tests still pass.
Diffstat (limited to 'test/files/run')
0 files changed, 0 insertions, 0 deletions