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
Stanislav Erokhin
d5dbc9638d
Added static methods, nested classes and companion object from superclasses.
2015-10-16 20:42:34 +03:00
Stanislav Erokhin
ace99f6c3f
Don't use ForceResolveUtil.forceResolveAllContents in TypeResolver in order to avoid problems with cyclic hierarchy.
2015-10-16 20:42:33 +03:00
Ilya Gorbunov
e24af934dc
Use the same implementation in Array.toArrayList as in arrayListOf.
2015-10-16 19:20:26 +03:00
Valentin Kipyatkov
55122cda9e
Minor changes on code review
2015-10-16 19:06:35 +03:00
Valentin Kipyatkov
6cf7d92565
Checking that no quickfixes hold references to DeclarationDescriptor's
2015-10-16 19:06:35 +03:00
Valentin Kipyatkov
a6c4d29640
More correct
2015-10-16 19:06:34 +03:00
Valentin Kipyatkov
6dbfe11afc
Dropped inheritance from HintAction when not needed, dropped JetHintAction
2015-10-16 19:06:34 +03:00
Valentin Kipyatkov
9c6e0293ed
No i18n
2015-10-16 19:06:34 +03:00
Valentin Kipyatkov
8cc3763465
Inlined JetAddFunctionToClassifierAction class into AddFunctionToSupertypeFix
2015-10-16 19:06:34 +03:00
Valentin Kipyatkov
ff13bcce1f
Code simplifications
2015-10-16 19:06:34 +03:00
Valentin Kipyatkov
1a13ec0b00
Converted to Kotlin
2015-10-16 19:06:34 +03:00
Valentin Kipyatkov
41775bf8a0
Code refactoring
2015-10-16 19:06:34 +03:00
Valentin Kipyatkov
7c4e9f1caf
ChangeMemberFunctionSignatureFix to not hold DeclarationDescriptor's
2015-10-16 19:06:33 +03:00
Valentin Kipyatkov
8dcc0096a8
Code simplifications + no i18n
2015-10-16 19:06:33 +03:00
Valentin Kipyatkov
cd6450e1a1
Converted to Kotlin
2015-10-16 19:06:33 +03:00
Valentin Kipyatkov
714e97751d
Not holding descriptor in SuperClassNotInitialized.AddParametersFix
2015-10-16 19:06:33 +03:00
Valentin Kipyatkov
412f4a30c4
Correctness check for wrapper action's priority
2015-10-16 19:06:33 +03:00
Valentin Kipyatkov
670b278891
MapPlatformClassToKotlinFix to not hold descriptors directly
2015-10-16 19:06:33 +03:00
Valentin Kipyatkov
9bb159d4bc
Code simplifications
2015-10-16 19:06:32 +03:00
Valentin Kipyatkov
78ac41a676
Converted to Kotlin + no i18n
2015-10-16 19:06:32 +03:00
Valentin Kipyatkov
17123a3cf2
Renames
2015-10-16 19:06:32 +03:00
Valentin Kipyatkov
c849c029cc
More refactoring
2015-10-16 19:06:32 +03:00
Valentin Kipyatkov
4cf440b801
Refactoring
2015-10-16 19:06:32 +03:00
Valentin Kipyatkov
f311d9febf
Refactored change signature fixes to not hold DeclarationDescriptor's
2015-10-16 19:06:31 +03:00