Commit Graph

13434 Commits

Author SHA1 Message Date
Stanislav Erokhin a90ca14033 Removed KtScope.Empty and created util function emptyScope 2015-11-04 14:28:28 +03:00
Stanislav Erokhin 4e891a3f98 Minor. moved util method to Companion of LexicalScope 2015-11-04 14:28:27 +03:00
Stanislav Erokhin 2c7746cafd Minor. Simplified code. 2015-11-04 14:28:27 +03:00
Stanislav Erokhin b02da0dc2f Created custom LexicalScope wrapper for resolving callable reference. 2015-11-04 14:28:26 +03:00
Stanislav Erokhin f7629b0c84 Removed getAllDescriptors() and getOwnDeclaredDescriptors() from KtScope 2015-11-04 14:28:25 +03:00
Stanislav Erokhin 0b5de434fa Removed usages KtScope.getAllDescriptors 2015-11-04 12:41:34 +03:00
Stanislav Erokhin 21fdd2ffc3 Created common supertype for LexicalScope & ImportingScope -- HierarchicalScope 2015-11-04 12:41:33 +03:00
Stanislav Erokhin 4c36e20242 Moved FilteringScope to frontend module 2015-11-04 12:41:32 +03:00
Stanislav Erokhin 6412df2e0b Change return type of KtScope.getProperties() 2015-11-04 12:41:32 +03:00
Stanislav Erokhin 7cd667c0e3 Removed unused methods from KtScope. 2015-11-04 12:41:31 +03:00
Stanislav Erokhin cc56cf6292 Removed several hacks from ScopeUtils.kt 2015-11-04 12:41:30 +03:00
Stanislav Erokhin 711daa459a Minor. Removed util method LexicalScope.asKtScope() 2015-11-04 12:41:30 +03:00
Stanislav Erokhin 40146a0df8 Minor. Make WritableScopeStorage abstract class 2015-11-04 12:41:29 +03:00
Stanislav Erokhin 5c6134af81 Minor. Removed WritableScopeImpl. 2015-11-04 12:41:28 +03:00
Stanislav Erokhin a5c9f4d353 Minor. removed usage WritableScopeImpl from tests 2015-11-04 12:41:27 +03:00
Stanislav Erokhin c8d9cfcd7b Minor. removed usage WritableScopeImpl from JetTypeCheckerTest 2015-11-04 12:41:27 +03:00
Stanislav Erokhin 6ad23f23c5 Minor. removed useless call 2015-11-04 12:41:26 +03:00
Stanislav Erokhin c1fa973324 Minor. remove usage of WritableScope 2015-11-04 12:41:25 +03:00
Stanislav Erokhin 71620d2ed1 Minor. Move LockLevel to LexicalWritableScope 2015-11-04 12:41:24 +03:00
Stanislav Erokhin fe61f41a94 Minor. remove unused import 2015-11-04 12:41:23 +03:00
Nikolay Krasko a614dfd90c Fix build 2015-11-04 11:50:25 +03:00
Nikolay Krasko e10f7fb464 Don't report missing getValue/setValue method error when it's was impossible to finish resolve
#KT-9803 Fixed
2015-11-04 02:31:15 +03:00
Ilya Chernikov b71fec985f Adding possibility to skip params inheritance on daemon jvm options creation, refactoring appropriate api, using it to fix tests 2015-11-03 21:56:31 +01:00
Dmitry Jemerov 0997f78764 fix CodeConformanceTest redux 2015-11-03 18:32:06 +01:00
Dmitry Jemerov fd2c75f03b fix CodeConformanceTest 2015-11-03 17:34:56 +01:00
Ilya Chernikov 10036d7ef3 Enabling parallel builds in JPS without daemon, enabling application environment disposing in tests, introducing keepalive property constant 2015-11-03 14:18:22 +01:00
Ilya Chernikov 63e1fa4cc0 Simplifying cleanup in gradle plugin after introducing ZipHandle.clearFileAccessorCache method in the platform, minor refactoring 2015-11-03 14:18:21 +01:00
Ilya Chernikov 90bb8b2be9 Generalizing daemon process shutdown mechanism 2015-11-03 14:18:21 +01:00
Ilya Chernikov 6a1c82d101 hiding compiler digest management inside the compiler service, implement simple lazy checking mechanism, using it from clients 2015-11-03 14:18:20 +01:00
Ilya Chernikov 2fa7b53d2c Implementing utilities to detect OS type and apprpriate location of runtime data files, using it to determine daemon run dir. Fixes KT-9696 2015-11-03 14:18:19 +01:00
Ilya Chernikov bf16efb8cc Adding test for parallel compilation with daemon 2015-11-03 14:18:18 +01:00
Ilya Chernikov 2dfca72f38 Passing port through daemon client API to allow port reusing for client-side components, introducing operations tracer interface for testing purposes 2015-11-03 14:18:17 +01:00
Dmitry Jemerov 3f46a13a56 regenerate tests 2015-11-03 14:08:59 +01:00
Dmitry Jemerov 19af88738b remove Jet from names of classes in tests: phase 2 2015-11-03 14:06:04 +01:00
Dmitry Jemerov c604f98a1c remove Jet from names of classes in tests: phase 1 2015-11-03 14:06:03 +01:00
Michael Bogdanov 86f8845c00 Fix for KT-8928: NoSuchMethodError on private property setter in companion object
#KT-8928 Fixed
2015-11-03 15:41:22 +03:00
Michael Bogdanov 559b85caa8 Test for obsolete KT-6382: Incorrect bridge method calls are generated for member extension functions with default parameters
#KT-6382 Obsolete
2015-11-03 15:40:16 +03:00
Michael Bogdanov 9daa44566b Fix for KT-5589: VerifyError when default value for parameter of local function is obtained from closure
#KT-5589 Fixed
2015-11-03 15:40:16 +03:00
Anton Sukhonosenko 141ffa27dc val / var are now forbidden on a loop multi declaration parameter #KT-6274 Fixed
VAL_OR_VAR_ON_LOOP_MULTI_PARAMETER error added
KtValVarKeywordOwner interface added for PSIs that have getValOrVarKeyword method
2015-11-03 15:30:50 +03:00
Mikhail Glukhikh 41ebfd025e More precise diagnostics of smart cast impossible #KT-7240 Fixed 2015-11-03 13:38:51 +03:00
Mikhail Glukhikh 03aaddd379 More correct handling of possible type set during assignment #KT-8229 Fixed 2015-11-03 12:49:21 +03:00
Mikhail Glukhikh 0a5a5a2e36 More precise diagnostics is added for smart cast impossible #KT-8810 Fixed 2015-11-03 11:15:58 +03:00
Michael Bogdanov 15eaa15b65 Fix for KT-7421: Unable to inherit from inner class
Fix for KT-6708: Compiler Error when extending open inner class: "java.lang.RuntimeException: Error generating primary constructor of class InnerB with kind IMPLEMENTATION"

  #KT-7421 Fixed
  #KT-6708 Fixed
2015-11-03 10:14:57 +03:00
Michael Bogdanov 65b85711e3 Fix for KT-3335: Creating imported super class' inner class fails in codegen
#KT-3335 Fixed
2015-11-03 10:14:56 +03:00
Dmitry Jemerov 3bd7f87d2b rename "Jet" from names of IDE classes; consistently use Kt prefix for PSI elements and classes directly related to specific PSI elements 2015-11-02 18:49:35 +01:00
Pavel V. Talanov fff404780c Add capabilities to moduleDescriptor as a way to put user data into module
Add OriginCapability to ide modules
2015-11-02 20:38:10 +03:00
Dmitry Jemerov 736b496f6a drop deprecated @platformName and @platformStatic annotations 2015-11-02 17:00:44 +01:00
Pavel V. Talanov 78bb44850d Minor: KotlinAnnotationLightMethod -> KotlinLightAnnotationMethod 2015-11-02 18:39:00 +03:00
Pavel V. Talanov 9f5c0741bd KotlinLightField: create KotlinLightEnumConstant based on delegate psi, not whether could find original declaration
This was not true for decompiled classes and led to enum entries from kotlin compiled files being unresolved in java
2015-11-02 18:38:58 +03:00
Pavel V. Talanov e5f075c7f6 Refactor light fields: move all implementation into one file and prettify code 2015-11-02 18:38:52 +03:00