From 2c5890b3a7aa227643fde86ba72820a8016bc453 Mon Sep 17 00:00:00 2001 From: Lukas Rytz Date: Fri, 13 Jul 2012 12:31:14 +0200 Subject: SI-5956 trigger copy generation with correct namer the call to `addCopyMethod` passes `templateNamer`, which is supposed to be the namer of the case class template. with two classes of the same name, `addCopyMethod` was triggered in the wrong template. --- test/files/neg/t5956.scala | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 test/files/neg/t5956.scala (limited to 'test/files/neg/t5956.scala') diff --git a/test/files/neg/t5956.scala b/test/files/neg/t5956.scala new file mode 100644 index 0000000000..d985fa97a4 --- /dev/null +++ b/test/files/neg/t5956.scala @@ -0,0 +1,2 @@ +object O { case class C[T]; class C } +object T { case class C[T]; case class C } -- cgit v1.2.3