FIR2IR: determine type parameters before value parameters

Type parameters can be referred from value parameters,
so we should determine them earlier to be able to set their indexes
This commit is contained in:
Mikhail Glukhikh
2020-02-20 13:24:10 +03:00
parent 334cab7357
commit 8c21f04bf4
8 changed files with 4 additions and 10 deletions
@@ -2,7 +2,6 @@
// It doesn't work on JS due to how numbers are represented, but it could be changed in the future.
// IGNORE_BACKEND: JS
// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND_FIR: JVM_IR
fun <A: Double, B: Any> eq_double_any(a: A, b: B) = a == b