Constraint system builder shouldn't drop nullability when comparing signatures for specificity.

This commit is contained in:
Dmitry Petrov
2016-03-03 16:18:04 +03:00
parent 8a2b80fe3f
commit 8660800af7
5 changed files with 38 additions and 15 deletions
@@ -5,4 +5,4 @@
<!CONFLICTING_JVM_DECLARATIONS!>fun foo(<!UNUSED_PARAMETER!>x<!>: Array<Int>)<!> {}
<!CONFLICTING_JVM_DECLARATIONS!>fun foo(vararg <!UNUSED_PARAMETER!>nn<!>: Number)<!> {}
<!CONFLICTING_JVM_DECLARATIONS!>fun foo(<!UNUSED_PARAMETER!>nn<!>: Array<out Number>)<!> {}
<!CONFLICTING_JVM_DECLARATIONS!>fun foo(<!UNUSED_PARAMETER!>nn<!>: Array<out Number>)<!> {}