From b5e13c92691d3269fec7bcc065c43d85aceac276 Mon Sep 17 00:00:00 2001 From: Som Snytt Date: Tue, 28 Jan 2014 22:05:25 -0800 Subject: SI-7322 Interpolator idents must be encoded Otherwise, they are not found. This matters for term names with a differential encoding. Footnote, normally ident() encodes, but INTERPOLATIONID is !isIdent, so that is not used here. Maybe that would be the better improvement. --- test/files/pos/t7322.scala | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 test/files/pos/t7322.scala (limited to 'test') 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 + } +} -- cgit v1.2.3