diff options
author | Adriaan Moors <adriaan.moors@typesafe.com> | 2014-02-01 09:18:15 -0800 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2014-02-01 09:18:15 -0800 |
commit | 5b4a71eda1df7d914da8d65cfa750bb5e408ca84 (patch) | |
tree | de4fceb02a2631962ad75ca247d69976a01c42a9 /test/files | |
parent | dccf284867bc824c560d19d71e86b796fe320d90 (diff) | |
parent | b5e13c92691d3269fec7bcc065c43d85aceac276 (diff) | |
download | scala-5b4a71eda1df7d914da8d65cfa750bb5e408ca84.tar.gz scala-5b4a71eda1df7d914da8d65cfa750bb5e408ca84.tar.bz2 scala-5b4a71eda1df7d914da8d65cfa750bb5e408ca84.zip |
Merge pull request #3424 from som-snytt/issue/7322
SI-7322 Interpolator idents must be encoded
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/pos/t7322.scala | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/files/pos/t7322.scala b/test/files/pos/t7322.scala new file mode 100644 index 0000000000..006bf89e9f --- /dev/null +++ b/test/files/pos/t7322.scala @@ -0,0 +1,11 @@ + +package object t7322 { + implicit class X(sc: StringContext) { + def x_?(args: Any*) = "hi there" + } +} +package t7322 { + trait Y { + x_?"junk" // assume that if it compiles, it works + } +} |