enable class content serialization in ReadClassDataTest; add test for function params with upper bounds

This commit is contained in:
Stepan Koltsov
2011-12-20 00:28:27 +04:00
parent c68f1e2409
commit c1bc5ceb99
5 changed files with 34 additions and 5 deletions
@@ -0,0 +1,3 @@
namespace test
fun <A : java.lang.Number> uno() = 1
@@ -0,0 +1,3 @@
namespace test
fun <A> tres() where A : java.lang.Number, A : java.lang.CharSequence = 1
@@ -0,0 +1,3 @@
namespace test
fun <A : java.lang.CharSequence> dos() = 1
@@ -0,0 +1,3 @@
namespace test
fun <A> cuatro() where A : java.lang.CharSequence, A : java.lang.Number = 1