Alexander Udalov
|
477823b093
|
Change override rules when type parameters have multiple bounds
Instead of constructing the magic intersection type, compare sets of upper
bounds instead as javac does, modulo the substitution
|
2015-10-28 19:12:02 +03:00 |
|
Alexander Udalov
|
894a97a549
|
Rename field for property metadata cache to prevent problems in inline
|
2015-10-28 19:11:51 +03:00 |
|
Michael Nedzelsky
|
c123af75fd
|
issue warning instead of error in case of finite bound or non-expansive inheritance violation in java code
|
2015-10-28 17:02:02 +03:00 |
|
Mikhail Glukhikh
|
d2c65a5336
|
Iterative call chain handling to get rid of JetTypeInfoInsideCallChain and other nasty things #KT-9754 Fixed
|
2015-10-28 16:00:30 +03:00 |
|
Stanislav Erokhin
|
553834fa9e
|
KT-9371 Callable reference resolve should not prefer one of the overloads by some magic reasons
#KT-9371 Fixed
|
2015-10-27 15:36:37 +03:00 |
|
Michael Nedzelsky
|
63f84fc60e
|
fix KT-9733 No error shown for 2 "main" functions in the same file
#KT-9733 Fixed
|
2015-10-26 21:30:24 +03:00 |
|
Alexey Tsvetkov
|
7c54024a22
|
Fix private setter visibility for generic class
#KT-8888 fixed
|
2015-10-26 18:36:59 +03:00 |
|
Mikhail Glukhikh
|
d0e01153ec
|
Effective visibility: java package-private is now considered as equivalent to Kotlin internal #KT-9755 Fixed
|
2015-10-26 15:00:14 +03:00 |
|
Mikhail Glukhikh
|
98e0771ffa
|
Abstract var setter visibilities: now only private setters are forbidden
|
2015-10-26 11:55:34 +03:00 |
|
Svetlana Isakova
|
c167a77c8a
|
Filter annotations while substituting compound type
|
2015-10-22 21:55:17 +03:00 |
|
Svetlana Isakova
|
f00af72e0f
|
Fixed 'OnlyInputTypes' working with platform types
|
2015-10-22 21:55:16 +03:00 |
|
Svetlana Isakova
|
b24cb2a326
|
Fixed 'OnlyInputTypes' working with number types
|
2015-10-22 21:55:14 +03:00 |
|
Svetlana Isakova
|
06e90cf6a1
|
Annotated the return type of 'elvis' function with @Exact
fun <T> ELVIS(T?, T): @Exact T
|
2015-10-22 21:55:12 +03:00 |
|
Valentin Kipyatkov
|
255373162d
|
KT-9666 Inner classes do not appear in type completion
#KT-9666
|
2015-10-22 18:48:15 +03:00 |
|
Michael Bogdanov
|
d5126213d3
|
Fix for KT-9364: M13 Wrong compiler error for "unable to inline function"
#KT-9364 Fixed
|
2015-10-22 17:20:57 +03:00 |
|
Dmitry Petrov
|
829fc6938a
|
KT-9547: private package member can conflict only with the members
declared in the same file.
Cleanup OverloadUtil stuff.
Update testData.
|
2015-10-22 10:45:49 +03:00 |
|
Denis Zharkov
|
d674aa1427
|
Refine signature mapping for special overrrides from Java
They have special JVM descriptor only when they are not inherited from
Kotlin super class
|
2015-10-21 17:51:43 +03:00 |
|
Denis Zharkov
|
c46b766fea
|
Load special property from Java in cases of J-K-J hierarchy
|
2015-10-21 17:51:43 +03:00 |
|
Mikhail Glukhikh
|
d6988ad69e
|
Get rid of FIELD_IDENTIFIER at syntax level, two errors dropped, a set of tests fixed / deleted #KT-9539 Fixed
|
2015-10-21 16:36:55 +03:00 |
|
Michael Nedzelsky
|
1c36090b6d
|
check for violation of Finite Bound Restriction and Non-Expansive Inheritance Restriction
|
2015-10-20 20:06:07 +03:00 |
|
Mikhail Glukhikh
|
4501836b33
|
Java 8 tests fixed (txt only)
|
2015-10-20 11:18:38 +03:00 |
|
Mikhail Glukhikh
|
3151d4ca9d
|
Check of type parameter bounds consistency #KT-9438 Fixed
|
2015-10-20 11:02:19 +03:00 |
|
Valentin Kipyatkov
|
8e6b0a26bb
|
Synthetic extensions to take all annotations from original declarations
#KT-9387 Fixed
|
2015-10-20 10:12:34 +03:00 |
|
Ilya Gorbunov
|
6ac28facf1
|
Fix deprecations in tests
|
2015-10-20 02:31:51 +03:00 |
|
Svetlana Isakova
|
667f6269e4
|
Filter internal annotations for resolve in type substitutor
to avoid having List<@NoInfer Int> as a result type
of function invocation (the function returns List<@NoInfer T>)
|
2015-10-19 23:02:03 +03:00 |
|
Svetlana Isakova
|
6ced795db6
|
Fixed the problem with 'OnlyInputTypes' annotation
|
2015-10-19 21:35:57 +03:00 |
|
Alexey Tsvetkov
|
c459e78a7d
|
Prohibit inline modifier on property, getter or setter
|
2015-10-19 20:45:02 +03:00 |
|
Alexey Tsvetkov
|
1e2256207c
|
Update test data
|
2015-10-19 20:45:02 +03:00 |
|
Alexey Tsvetkov
|
dc27363452
|
Remove @annotation from test data
|
2015-10-19 20:45:01 +03:00 |
|
Alexey Tsvetkov
|
1973573a89
|
Remove @data from test data
|
2015-10-19 20:45:00 +03:00 |
|
Dmitry Petrov
|
e7fb7483c5
|
Drop package facades: update compiler tests.
|
2015-10-19 16:03:16 +03:00 |
|
Mikhail Glukhikh
|
8d88109c00
|
Underscore names are now forbidden
|
2015-10-19 15:24:45 +03:00 |
|
Mikhail Glukhikh
|
059175560c
|
No __ as lambda parameter
|
2015-10-19 15:24:39 +03:00 |
|
Svetlana Isakova
|
cb34498278
|
Check nullability in initial constraints
except constraints for receiver type (it can be accessed via safe call)
|
2015-10-19 14:15:06 +03:00 |
|
Svetlana Isakova
|
bb9f7094e0
|
Report 'TYPE_INFERENCE_EXPECTED_TYPE_MISMATCH'
on call element, not on callee expression
|
2015-10-19 14:15:05 +03:00 |
|
Svetlana Isakova
|
4c85b69c88
|
Report type inference error
when inference failed with 'NoInfer' annotation
|
2015-10-19 14:15:05 +03:00 |
|
Yan Zhulanow
|
b2470a6aad
|
Report warning on unary plus()/minus()
|
2015-10-19 11:51:54 +03:00 |
|
Yan Zhulanow
|
3a89c2194a
|
Fix Java 8 tests (annotation methods are not loaded as functions anymore)
|
2015-10-19 03:56:15 +03:00 |
|
Yan Zhulanow
|
e14c9645dc
|
Error on 'if' without an 'else' branch when used as an expression
|
2015-10-19 03:56:15 +03:00 |
|
Svetlana Isakova
|
7208efc784
|
Fix tests with type annotations
|
2015-10-17 19:07:25 +03:00 |
|
Denis Zharkov
|
cc94acdabc
|
Do not load common for special properties from Java
I.e. do not treat getName in Java enum as override of Enum.name
|
2015-10-17 17:46:17 +03:00 |
|
Denis Zharkov
|
28c46b73f1
|
Rename some of builtin parameters
|
2015-10-17 17:46:16 +03:00 |
|
Denis Zharkov
|
1c02231cda
|
Regenerate rendered descriptors after transforming Enum.values to property
|
2015-10-17 17:46:16 +03:00 |
|
Denis Zharkov
|
d8ede6d03e
|
Transform Enum.values to property
|
2015-10-17 17:46:16 +03:00 |
|
Stanislav Erokhin
|
7d7d37719b
|
Forbidden old invokeExtension convention.
|
2015-10-17 14:45:53 +03:00 |
|
Yan Zhulanow
|
3bb1b1adfd
|
Put property delegates -related warnings on 'by'
|
2015-10-16 22:20:06 +03:00 |
|
Yan Zhulanow
|
b42d913bd7
|
Unify 'lateinit' diagnostics
|
2015-10-16 22:19:33 +03:00 |
|
Yan Zhulanow
|
9ae3b0fa9c
|
Drop loading Java annotation methods as functions
|
2015-10-16 22:13:34 +03:00 |
|
Svetlana Isakova
|
a6ec5cecc0
|
Added 'OnlyInputTypes' annotation
|
2015-10-16 21:58:46 +03:00 |
|
Svetlana Isakova
|
082469aee4
|
Resolve annotations on type parameters of functions and properties
|
2015-10-16 21:58:45 +03:00 |
|