From b27a31b87d5ae42a51ee026d3d4fa181249ec669 Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Tue, 6 Mar 2012 15:54:27 -0800 Subject: Added alternate test for SI-5545. --- test/files/pos/t5545/S_1.scala | 4 ++++ test/files/pos/t5545/S_2.scala | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 test/files/pos/t5545/S_1.scala create mode 100644 test/files/pos/t5545/S_2.scala diff --git a/test/files/pos/t5545/S_1.scala b/test/files/pos/t5545/S_1.scala new file mode 100644 index 0000000000..59ec1fd851 --- /dev/null +++ b/test/files/pos/t5545/S_1.scala @@ -0,0 +1,4 @@ +trait F[@specialized(Int) T1, R] { + def f(v1: T1): R + def g = v1 => f(v1) +} diff --git a/test/files/pos/t5545/S_2.scala b/test/files/pos/t5545/S_2.scala new file mode 100644 index 0000000000..59ec1fd851 --- /dev/null +++ b/test/files/pos/t5545/S_2.scala @@ -0,0 +1,4 @@ +trait F[@specialized(Int) T1, R] { + def f(v1: T1): R + def g = v1 => f(v1) +} -- cgit v1.2.3