From adef4b526833a804dcbc160ff67c83e42c9fc2ee Mon Sep 17 00:00:00 2001 From: Eugene Burmako Date: Sun, 12 May 2013 14:53:25 +0200 Subject: SI-5923 instantiates targs in deferred macro applications In January I submitted a pull request that, as I thought back then, fixes SI-5923: https://github.com/scala/scala/commit/fe60284769. The pull request was merged, and everyone was happy that the bug got fixed. Unfortunately, the fix was: a) incomplete, b) broke something else, as noticed by Miles in https://groups.google.com/d/topic/scala-internals/7pA9CiiD3u8/discussion. Now we got a real fix in 2.10.x (https://github.com/scala/scala/commit/90ac5c4e13), and it's my pleasure to port it to master. --- test/files/run/t5923a/Test_2.scala | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 test/files/run/t5923a/Test_2.scala (limited to 'test/files/run/t5923a/Test_2.scala') diff --git a/test/files/run/t5923a/Test_2.scala b/test/files/run/t5923a/Test_2.scala new file mode 100644 index 0000000000..001ff9aea8 --- /dev/null +++ b/test/files/run/t5923a/Test_2.scala @@ -0,0 +1,5 @@ +object Test extends App { + println(implicitly[C[Int]]) + println(implicitly[C[String]]) + println(implicitly[C[Nothing]]) +} \ No newline at end of file -- cgit v1.2.3