summaryrefslogtreecommitdiff
path: root/test/files/run/stringInterpolation.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2012-01-16 17:49:12 +0100
committerMartin Odersky <odersky@gmail.com>2012-01-16 17:49:37 +0100
commit6ea9f72ffd0e1b606cb5ad4670b4db8330fa29b9 (patch)
treef0e187995ccd498928e521be7653a7eb86f85ea2 /test/files/run/stringInterpolation.scala
parentb0de5f13329aa24752fae079c50cc0584471379e (diff)
downloadscala-6ea9f72ffd0e1b606cb5ad4670b4db8330fa29b9.tar.gz
scala-6ea9f72ffd0e1b606cb5ad4670b4db8330fa29b9.tar.bz2
scala-6ea9f72ffd0e1b606cb5ad4670b4db8330fa29b9.zip
A string interpolation implementation of SIP-11.
This is the complete implementation of SIP-11, in its version of 15-Jan-2012. For now, the interpolations are enabled only under the -Xexperimental flag.
Diffstat (limited to 'test/files/run/stringInterpolation.scala')
-rw-r--r--test/files/run/stringInterpolation.scala7
1 files changed, 0 insertions, 7 deletions
diff --git a/test/files/run/stringInterpolation.scala b/test/files/run/stringInterpolation.scala
deleted file mode 100644
index d88f5f6889..0000000000
--- a/test/files/run/stringInterpolation.scala
+++ /dev/null
@@ -1,7 +0,0 @@
-object Test {
- def main(args : Array[String]) : Unit = {
- println("\{1} plus \{1} is \{1 + 1}")
- val x = 1.1
- println("We have a \{ x ;2.2f}% chance of success")
- }
-}