Michael Bogdanov
3b02498ca8
Tests for private members and accessors for them
2015-10-18 17:53:28 +03:00
Michael Bogdanov
8641dbf42a
Fix couldUseDirectAccessToProperty for private top-level properties
2015-10-18 17:53:27 +03:00
Michael Bogdanov
e2eddac27d
Workaround for KT-9603
2015-10-18 17:53:27 +03:00
Michael Bogdanov
7022d84ec1
Use package part context for class generation
2015-10-18 17:53:27 +03:00
Michael Bogdanov
3e64baad78
Support multifile facades in isCallInsideSameClassAsDeclared
2015-10-18 17:53:26 +03:00
Michael Bogdanov
c63d221da3
Skip private members in facades
2015-10-18 17:53:26 +03:00
Michael Bogdanov
5b3a7a473e
Private visibility for top-level private members
2015-10-18 15:53:48 +03:00
Ilya Gorbunov
10784644a5
Throwable stackTrace property instead of getStackTrace() function.
2015-10-17 23:43:20 +03:00
Svetlana Isakova
7208efc784
Fix tests with type annotations
2015-10-17 19:07:25 +03:00
Denis Zharkov
fafca76ac5
Generate common bridges for final builtin declaration
...
#KT-9596 Fixed
2015-10-17 17:46:17 +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
Mikhael Bogdanov
d985f56b8d
Fix local variable shift for inline functions
2015-10-17 17:02:56 +03:00
Natalia Ukhorskaya
9168572b8c
Write local variable for inline function and inline argument
2015-10-17 17:02:55 +03:00
Michael Bogdanov
3452fc8d02
Don't initialize const properties in constructor
...
#KT-9532 Fixed
2015-10-17 15:31:57 +03:00
Stanislav Erokhin
7d7d37719b
Forbidden old invokeExtension convention.
2015-10-17 14:45:53 +03:00
Alexey Sedunov
fc4b0a8121
Minor: Rename test class
2015-10-17 00:24:40 +03:00
Alexey Sedunov
6f5d977728
Inspections: Add inspection on equals()/hashCode()
2015-10-17 00:24:39 +03:00
Alexey Sedunov
127cb36602
Minor: Allow running member generation actions without editor
2015-10-17 00:24:38 +03:00
Alexey Sedunov
915236a6ba
Code Insight: "Generate equals/hashCode" action
2015-10-17 00:24:37 +03:00
Ilya Gorbunov
d1d0807229
Add a note about *Raw functions behavior.
2015-10-16 23:55:37 +03:00
Ilya Gorbunov
8fd5677fe0
Move map-related *Raw methods to Maps.kt and do some cleanup there.
...
Correct deprecation messages and replacements.
2015-10-16 23:38:40 +03:00
Ilya Gorbunov
e2cf8a919c
Fix contains usages in stdlib tests
2015-10-16 23:38:30 +03:00
Ilya Gorbunov
683bc4bd01
Generate *Raw methods.
2015-10-16 23:38:29 +03:00
Ilya Gorbunov
8aed39d9bb
Provide *Raw methods as a replacement.
2015-10-16 23:38:27 +03:00
Ilya Gorbunov
d1a007e902
Do not generate deprecated contains for ranges.
2015-10-16 23:38:25 +03:00
Ilya Gorbunov
c5cd599e30
Delegate indexOf and lastIndexOf to List if the Iterable is List.
2015-10-16 23:38:23 +03:00
Ilya Gorbunov
45d13fafc8
StdLib generator: Allow receiver star-projections to be specified per-family.
2015-10-16 23:38:22 +03:00
Ilya Gorbunov
efa285bc30
ExpressionDecomposer: non-nullable upper bound of R, since supertype expects R to be non-null.
2015-10-16 23:38:20 +03:00
Ilya Gorbunov
654a85368d
Allow to evaluate FamilyProperty based on family value specified.
2015-10-16 23:38:18 +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
9699708fb8
Do not put inapplicable annotations on getter
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
25b40455ad
Serialize/deserialize annotations on type parameters
2015-10-16 21:58:47 +03:00
Svetlana Isakova
b7e2604bf2
Rename DeserializedTypeParameterDescriptor .java -> .kt
2015-10-16 21:58:47 +03:00
Svetlana Isakova
ded62686a0
Added 'LowPriorityInOverloadResolution' annotation
2015-10-16 21:58:46 +03:00
Svetlana Isakova
1cfb7d8f57
Changed constraint system tests
...
after adding new error 'hasTypeParameterWithUnsatisfiedOnlyInputTypesError'
2015-10-16 21:58:46 +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
Svetlana Isakova
9b440345a1
Do not render @NoInfer, @Exact annotations
...
For now they are always not rendered,
but later they should be rendered in descriptors, but omitted in error messages
2015-10-16 21:58:45 +03:00
Svetlana Isakova
566e27788f
Moved @NoInfer, @Exact to internal package
2015-10-16 21:58:44 +03:00
Svetlana Isakova
b401d46ae4
Check annotations on type arguments
2015-10-16 21:58:44 +03:00
Svetlana Isakova
6c4771147a
Added more tests on annotations for nullable types
2015-10-16 21:58:43 +03:00
Yan Zhulanow
8a5c59e6b7
Inline static fields from Java
2015-10-16 21:36:33 +03:00
Denis Zharkov
7cbab5816c
Fix lost testData
2015-10-16 21:11:05 +03:00
Mikhail Glukhikh
4b35e3b135
Preliminary declaration visitor for estimating local variable's predictability for smart casts
...
Predictability estimation algorithm is completely new, but backward compatibility should present.
A large set of tests. Some updated tests.
Smart casts allowed for captured variables if they are not modified in closure #KT-9051 Fixed
Also #KT-8643 Fixed
Also #KT-7976 Fixed
Correct handling of lambda arguments in functions #KT-9143 Fixed
2015-10-16 20:47:47 +03:00
Stanislav Erokhin
de7d2978db
Fix assertEquals usage in kotlin code after adding statics to scope.
2015-10-16 20:42:35 +03:00