Michael Nedzelsky
|
c318a13e6c
|
Error on using extension function type as an upper bound
|
2015-11-06 06:31:52 +03:00 |
|
Stanislav Erokhin
|
7d7d37719b
|
Forbidden old invokeExtension convention.
|
2015-10-17 14:45:53 +03:00 |
|
Michael Nedzelsky
|
57205f5721
|
drop BASE_WITH_NULLABLE_UPPER_BOUND
|
2015-10-14 20:51:01 +03:00 |
|
Denis Zharkov
|
f0e3fd617d
|
Adjust testData to CharSequence.length transformation
|
2015-10-14 20:39:35 +03:00 |
|
Michael Nedzelsky
|
bc5c9065d2
|
fix tests in org.jetbrains.kotlin.checkers
|
2015-09-08 02:04:32 +03:00 |
|
Denis Zharkov
|
5e09a0c2c9
|
Add some test cases after review
|
2015-08-28 18:50:25 +03:00 |
|
Denis Zharkov
|
b471767e03
|
Refine smart cast check for type parameters
|
2015-08-28 18:50:25 +03:00 |
|
Denis Zharkov
|
aad977d204
|
Properly check whether nullability of receiver argument fits to parameter's nullability
It's should behave like we check isSubtype(receiverType, parameterType) + use nullability info from smart cast
#KT-1090 Fixed
|
2015-08-28 18:50:25 +03:00 |
|
Denis Zharkov
|
6ecfa6e985
|
Refine subtyping check: pay attention to corresponding supertype nullability
F: Any, T : F? => !isSubtype(T, Any)
It helps to identify upper bounds violation like in KT-7455
#KT-7455 Fixed
#KT-2924 Fixed
#KT-3015 Fixed
|
2015-08-28 18:50:25 +03:00 |
|
Denis Zharkov
|
a906be6dd7
|
Prohibit using null as a value of generic type
#KT-7350 Fixed
#KT-7736 Fixed
#KT-7485 Fixed
|
2015-08-28 18:50:25 +03:00 |
|