summaryrefslogtreecommitdiff
path: root/test/pending/pos/sig/sigs.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2008-07-29 12:14:57 +0000
committerMartin Odersky <odersky@gmail.com>2008-07-29 12:14:57 +0000
commitbb2c7676f51e6074e41a9e77eb413cbf027a6479 (patch)
tree9c2e05a951032a0da7b319c91091884443044947 /test/pending/pos/sig/sigs.scala
parentc925964406607ca53df6d7fcba2ad51ae084655f (diff)
downloadscala-bb2c7676f51e6074e41a9e77eb413cbf027a6479.tar.gz
scala-bb2c7676f51e6074e41a9e77eb413cbf027a6479.tar.bz2
scala-bb2c7676f51e6074e41a9e77eb413cbf027a6479.zip
fixed Signature generation
Diffstat (limited to 'test/pending/pos/sig/sigs.scala')
-rwxr-xr-xtest/pending/pos/sig/sigs.scala6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/pending/pos/sig/sigs.scala b/test/pending/pos/sig/sigs.scala
index 4579f225d9..72a293d0e6 100755
--- a/test/pending/pos/sig/sigs.scala
+++ b/test/pending/pos/sig/sigs.scala
@@ -1,6 +1,10 @@
package test
class T {
- def foo[T](x: T): T = x
+ def foo[T <: String](x: T): T = x
def bar[T](x: T): T = x
+ class Inner {
+ def foo[T](x: T): T = x
+ def bar[T](x: T): T = x
+ }
}