Commit Graph

27280 Commits

Author SHA1 Message Date
Valentin Kipyatkov 375ecb4026 Refactored CompletionKind removing duplication with CallType 2015-10-22 18:48:14 +03:00
Valentin Kipyatkov b4501a6b98 Fixed filtering of annotation classes in annotation completion broken recently 2015-10-22 18:48:14 +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
Michael Bogdanov a7b3c70d21 Fix for KT-7017: Reified type referenced in object literal crashes at runtime
#KT-7017 Fixed
2015-10-22 16:06:13 +03:00
Michael Bogdanov 3e19514099 Test for obsolete KT-6988: java.lang.VerifyError: Bad return caused by inline reified
#KT-6988 Obsolete
2015-10-22 16:06:10 +03:00
Dmitry Petrov 1a58636ea9 KT-6165, KT-9547: fix testData for JPS plugin.
Test contains effectively single module (with circular dependencies),
and should not have conflicting declarations.
Rename the package in a library used in this test.

 #KT-9547 Fixed
2015-10-22 11:37:01 +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
Dmitry Petrov 5170341624 OverloadResolver:
fix redeclaration diagnostics issue in incremental compilation (KT-6165)
J2K: OverloadUtil.kt
2015-10-22 10:45:49 +03:00
Dmitry Petrov f3cc6fc170 J2K: rename OverloadUtil.java --> OverloadUtil.kt 2015-10-22 10:45:49 +03:00
Denis Zharkov 8c62e80d2b Minor. Use property instead of deprecated function in Operations map 2015-10-21 17:51:44 +03:00
Denis Zharkov 8db206e7ff Take into account irrelevant implementation of special builtins 2015-10-21 17:51:43 +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 f3a652de2f Minor. Add assertion about same modality of accessors 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
Denis Zharkov e31f751830 Minor. Move hasRealKotlinSuperClassWithOverrideOf to descriptor.loader.java 2015-10-21 17:51:43 +03:00
Denis Zharkov 0b3118554b Extract hasRealKotlinSuperClassWithOverrideOf and simplify needGenerateSpecialBridge
Temporary don't mind that some element `reachableDeclarations` is
final in Java because it's anyway follows that function descriptor itself is final.
2015-10-21 17:51:43 +03:00
Michael Bogdanov 4dcf940756 Test for obsolete KT-4860
#KT-4860 Obsolete
2015-10-21 17:12:18 +03:00
Michael Bogdanov 55d2300860 Fix for KT-6722
#KT-6722 Fixed
2015-10-21 17:12:17 +03:00
Michael Bogdanov f4d3ecf8e6 Generate public constructor for anonymous objects if it inside inline fun
#KT-9331 Fixed
2015-10-21 17:12:17 +03:00
Mikhail Glukhikh 3d56012184 Backing field access highlighting dropped 2015-10-21 16:37:12 +03:00
Mikhail Glukhikh 99943e3185 Backing field: three relevant quick-fixes dropped 2015-10-21 16:37:09 +03:00
Mikhail Glukhikh 03d944d2b3 Backing field: four more errors dropped 2015-10-21 16:37:06 +03:00
Mikhail Glukhikh e8a5df364b Refactoring (JetFlowInformationProvider) 2015-10-21 16:37:04 +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
Mikhail Glukhikh 8ea0501a30 Get rid of FIELD_IDENTIFIER: stubs with '$' removed 2015-10-21 16:36:49 +03:00
Mikhail Glukhikh ef23343844 Test regenerated 2015-10-21 16:36:46 +03:00
Nikolay Krasko eb2feeeb16 Fixes after review in imports for additional expressions 2015-10-21 14:06:05 +03:00
Nikolay Krasko 2f26480e6b Auto-imports for index functions, += like operators, invoke, delegates and components
#KT-9482 Fixed
 #KT-9397 Fixed
 #KT-8060 Fixed
2015-10-21 14:06:04 +03:00
Nikolay Krasko 0f85d770dd Refactoring: continue extracting base class for auto-import fix 2015-10-21 14:06:03 +03:00
Nikolay Krasko c84995f8dd Refactoring: prepare AutoImportFix for subclassing: count suggestions in virtual method. 2015-10-21 14:06:03 +03:00
Nikolay Krasko a7519853cb Fixes after review in creating single action for fixing several problems 2015-10-21 14:06:02 +03:00
Nikolay Krasko 4bae99e8bd Allow to create single quickfix for several same-type diagnostics
This going to be used for multiple auto-import for components functions and get/set pair for delegated properties
2015-10-21 14:06:02 +03:00
Nikolay Krasko 43ae8bb1f3 Revert "Add script to do padding for teamcity version"
There is no need in verison padding now.

This reverts commit 8fce102212.
2015-10-21 14:06:01 +03:00
Nikolay Krasko da2d3701f0 Updated test for new version format 2015-10-21 14:06:01 +03:00
Valentin Kipyatkov 36ea9cfbfc J2K: fixed conversion of Throwable.getMessage(), Throwable.getCause(), Map.Entry.getKey() and Map.Entry.getValue() 2015-10-21 13:46:57 +03:00
Alexander Udalov 8dde7497e0 Minor, drop outdated constructor from FunctionReference 2015-10-21 13:40:49 +03:00
Alexander Udalov c204e8fc67 Add more intrinsic methods to be maybe used in the future 2015-10-21 13:40:48 +03:00
Alexander Udalov a24ac86e1c Support exception messages for reified inline markers 2015-10-21 13:40:47 +03:00
Alexander Udalov 1f1b3660f7 Provide additional overloads of TypeIntrinsics methods for future use 2015-10-21 13:40:47 +03:00
Alexander Udalov 8f6f6f7807 Minor, simplify code in TypeIntrinsics 2015-10-21 13:40:46 +03:00
Alexander Udalov 121807654a Add generalized methods to InlineMarker
To be able to use them in the future compiler without breaking binary
compatibility
2015-10-21 13:40:45 +03:00
Alexander Udalov 3f9806d758 Add constructors with messages and causes to runtime exceptions 2015-10-21 13:40:44 +03:00
Alexander Udalov 1e9624901a Add NonVolatileRef to runtime 2015-10-21 13:40:02 +03:00
Michael Nedzelsky f987feed6f fix compilation (KtType -> KotlinType) 2015-10-20 20:46:11 +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
Denis Zharkov 1413cab1e6 Mixin kotlin.Number methods into j.l.Number member scope
#KT-9672 Fixed
2015-10-20 19:41:58 +03:00
Alexey Sedunov b774373dbc Minor: Restore ant.xml deleted in a previous commit 2015-10-20 19:41:06 +03:00
Michael Bogdanov 926e3fd350 Test for obsolete KT-9560
#KT-9560 Obsolete
2015-10-20 19:19:43 +03:00
Michael Bogdanov 1d84103cce Test for obsolete KT-6453
#KT-6453 Obsolete
2015-10-20 19:19:43 +03:00
Michael Bogdanov 378233e1f5 Test for obsolete KT-8095
#KT-8095 Obsolete
2015-10-20 19:19:42 +03:00