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
Valentin Kipyatkov
b2a04a7b04
Code refactorings in QuickFixWithDelegateFactory
2015-10-16 19:06:31 +03:00
Valentin Kipyatkov
de52cae7be
Moved and renamed CreateFromUsageFactory
2015-10-16 19:06:31 +03:00
Valentin Kipyatkov
79375fa5e1
No i18n
2015-10-16 19:06:31 +03:00
Valentin Kipyatkov
0542ef30e3
Converted to Kotlin
2015-10-16 19:06:31 +03:00
Valentin Kipyatkov
5d1d44dfd3
More correct way to map arguments to parameters
2015-10-16 19:06:31 +03:00
Valentin Kipyatkov
4df9a46b00
Moved method
2015-10-16 19:06:30 +03:00
Valentin Kipyatkov
bce9f26327
Code improvements
2015-10-16 19:06:30 +03:00
Valentin Kipyatkov
f67e05de72
No i18n
2015-10-16 19:06:30 +03:00
Valentin Kipyatkov
4816003efd
Refactoring to not pass BindingContext
2015-10-16 19:06:30 +03:00
Valentin Kipyatkov
c79d93b46c
Converted to Kotlin
2015-10-16 19:06:30 +03:00
Valentin Kipyatkov
23025b072e
Renamed JetIntentionAction to KotlinQuickFixAction
2015-10-16 19:06:29 +03:00
Valentin Kipyatkov
ab87471177
Converted JetIntentionAction to Kotlin
2015-10-16 19:06:29 +03:00
Valentin Kipyatkov
800e629614
Changed code style settings to place 'else' on new line
2015-10-16 19:06:18 +03:00
Ilya Gorbunov
59f88cfb52
Ensure vararg copy behavior for specific case of arrayListOf in JS.
2015-10-16 18:43:41 +03:00
Ilya Gorbunov
446cdc087d
Optimizations in listOf and arrayListOf constructor functions.
...
Remove linkedListOf() from JS.
#KT-5703 Fixed
#KT-8519 Fixed
2015-10-16 18:28:43 +03:00
Denis Zharkov
032ba44070
Minor. Add optimization for getOverriddenBuiltinWithDifferentJvmName
2015-10-16 18:16:03 +03:00