diff options
author | Vlad Ureche <vlad.ureche@gmail.com> | 2012-08-19 02:44:43 +0200 |
---|---|---|
committer | Vlad Ureche <vlad.ureche@gmail.com> | 2012-08-19 02:44:43 +0200 |
commit | c17c95ca3fffc35ed251e95ec321a1c67038f9f8 (patch) | |
tree | 26da24fb5a9bb5f87c537e4fae111d4c5ed2209d /test/files | |
parent | af19824ab993e5a4f9d09fe76793dbc7795432cf (diff) | |
download | scala-c17c95ca3fffc35ed251e95ec321a1c67038f9f8.tar.gz scala-c17c95ca3fffc35ed251e95ec321a1c67038f9f8.tar.bz2 scala-c17c95ca3fffc35ed251e95ec321a1c67038f9f8.zip |
SI-5788 correct test and symbol update
Previously I thought it's fixed because I didn't include the correct
testcase. Now it's the correct testcase and this prompted me to
change the code a bit to make it work properly.
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/pos/SI-5788.scala | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/files/pos/SI-5788.scala b/test/files/pos/SI-5788.scala index 93b84bde87..f292461804 100644 --- a/test/files/pos/SI-5788.scala +++ b/test/files/pos/SI-5788.scala @@ -1,4 +1,3 @@ -trait Test { - trait B[T] - private final def grow[T](): B[T] = grow[T]() +trait Foo[@specialized(Int) A] { + final def bar(a:A):A = bar(a) } |