diff options
author | Adriaan Moors <adriaan.moors@epfl.ch> | 2012-05-03 11:09:13 +0200 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@epfl.ch> | 2012-05-03 13:35:23 +0200 |
commit | 7a5aaa9e23a98d60343cc0c4411b3fc395faa3ab (patch) | |
tree | 130f26f5dac9af4498d5f4604745c9209415db02 /test/files/pos | |
parent | 6300c3033e7b852c6cbef332af6085aac6150a70 (diff) | |
download | scala-7a5aaa9e23a98d60343cc0c4411b3fc395faa3ab.tar.gz scala-7a5aaa9e23a98d60343cc0c4411b3fc395faa3ab.tar.bz2 scala-7a5aaa9e23a98d60343cc0c4411b3fc395faa3ab.zip |
SI-5703: normalize refined types more
to improve Array[T] java-interop with T[],
normalize Object with Object{} to Object
fix #SI-5688 by flattening refined types in parents
updated check files to reflect flattening of refined types and updated position for refined types
Diffstat (limited to 'test/files/pos')
-rw-r--r-- | test/files/pos/t5703/Base.java | 3 | ||||
-rw-r--r-- | test/files/pos/t5703/Impl.scala | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/test/files/pos/t5703/Base.java b/test/files/pos/t5703/Base.java new file mode 100644 index 0000000000..fa75cc3bdd --- /dev/null +++ b/test/files/pos/t5703/Base.java @@ -0,0 +1,3 @@ +public abstract class Base<Params> { + public abstract void func(Params[] params); +}
\ No newline at end of file diff --git a/test/files/pos/t5703/Impl.scala b/test/files/pos/t5703/Impl.scala new file mode 100644 index 0000000000..ee22d8fb4b --- /dev/null +++ b/test/files/pos/t5703/Impl.scala @@ -0,0 +1,3 @@ +class Implementation extends Base[Object] { + def func(params: Array[Object]): Unit = {} +}
\ No newline at end of file |