Renumbered type and value parameters of function types.

Their numbers now start from 1. This is made for consistency with auto-generated sources for these types. Parameters of runtime types (written in Java) are numbered starting with 0, too.
This commit is contained in:
Evgeny Gerashchenko
2012-05-11 21:36:18 +04:00
parent 073a30704f
commit 9265ce4ec9
2 changed files with 4 additions and 5 deletions
@@ -5,5 +5,5 @@ class <!ABSTRACT_MEMBER_NOT_IMPLEMENTED!>A<!> : (Int) -> Int {
}
class B : Function1<Int, Int> {
override fun invoke(p0 : Int) = p0
override fun invoke(p1 : Int) = p1
}