Commit Graph

33545 Commits

Author SHA1 Message Date
Valentin Kipyatkov e314e22215 Minor refactoring 2016-09-07 19:04:46 +03:00
Valentin Kipyatkov 63ed93d1ac Minor optimization 2016-09-07 19:04:46 +03:00
Valentin Kipyatkov a6a7075568 Fixed the case of public from private class inheritance in Java 2016-09-07 19:04:46 +03:00
Valentin Kipyatkov 904017eaff Covered case when variable of our type is multi-declaration entry 2016-09-07 19:04:46 +03:00
Valentin Kipyatkov 7b907e6518 Added comments 2016-09-07 19:04:45 +03:00
Valentin Kipyatkov 2322ecb032 Fixed test 2016-09-07 19:04:45 +03:00
Valentin Kipyatkov 4e0c3fcee7 Refactored reference searches to take read-actions when necessary 2016-09-07 19:04:45 +03:00
Valentin Kipyatkov 637da2e693 Converted to Kotlin and edited 2016-09-07 19:04:45 +03:00
Valentin Kipyatkov 843ff15943 Fixed assertion about read-action 2016-09-07 19:04:44 +03:00
Valentin Kipyatkov d7a94ac470 Fixed find usages for Java's invoke() 2016-09-07 19:04:44 +03:00
Valentin Kipyatkov 478556890a KT-13605 Find Usages fails to find usages of component function defined in Java
#KT-13605 Fixed
2016-09-07 19:04:44 +03:00
Valentin Kipyatkov 5e52e74963 Fixed test data 2016-09-07 19:04:44 +03:00
Valentin Kipyatkov 0158ff46f3 Fixed operator references search for functions declared in Java 2016-09-07 19:04:43 +03:00
Valentin Kipyatkov f6fbd0b623 Fast search of contains operator 2016-09-07 19:04:43 +03:00
Valentin Kipyatkov 5ce780cafc Optimization 2016-09-07 19:04:43 +03:00
Valentin Kipyatkov 0f32574be0 Fast get/set operators search 2016-09-07 19:04:42 +03:00
Valentin Kipyatkov eeea85c86a Fast search of assignment operations 2016-09-07 19:04:42 +03:00
Valentin Kipyatkov cdf328475e Fast unary operators search 2016-09-07 19:04:42 +03:00
Valentin Kipyatkov 322df5b348 More correct operator treatment 2016-09-07 19:04:42 +03:00
Valentin Kipyatkov 43f8fbea2b More information in log 2016-09-07 19:04:41 +03:00
Valentin Kipyatkov e1c1c5fb59 Minor change in log 2016-09-07 19:04:41 +03:00
Valentin Kipyatkov 8fd9b4a87b More information in log 2016-09-07 19:04:41 +03:00
Valentin Kipyatkov 1ca698cfc4 Implemented fast search for binary operators 2016-09-07 19:04:41 +03:00
Valentin Kipyatkov f2c0d131e4 Refactored to avoid code duplication 2016-09-07 19:04:40 +03:00
Valentin Kipyatkov e3b37f9219 Implemented fast search for invoke operator calls
#KT-13643 Fixed
2016-09-07 19:04:40 +03:00
Valentin Kipyatkov e1c7d07189 Refactored component usages search extracted search for expressions of given type 2016-09-07 19:04:40 +03:00
Valentin Kipyatkov 47d624ac66 Better test 2016-09-07 18:10:13 +03:00
Valentin Kipyatkov c068bd3158 Fixed correct detection of bold members in case of multiple receivers (broken by previous changes) 2016-09-07 18:10:12 +03:00
Valentin Kipyatkov d93525d7f8 Minor 2016-09-07 18:10:12 +03:00
Valentin Kipyatkov 835c60f2a5 More correct completion list sorting by receivers 2016-09-07 18:10:12 +03:00
Valentin Kipyatkov a60d9d546d KT-12798 DSL-friendly completion
#KT-12798 Fixed
2016-09-07 18:10:12 +03:00
Valentin Kipyatkov efac7a11b3 Do not include "operator" and "infix" into completion item text for override 2016-09-07 18:10:11 +03:00
Michael Bogdanov 8d2ffb2dab Fix wrong "InlineProperties are unsupported at this language level" error on inline functions when inline properties are disabled 2016-09-07 17:39:09 +03:00
Mikhail Zarechenskiy 3ad451e33e Partly support generics and nullable types as parameters for script templates 2016-09-07 17:24:19 +03:00
Michael Bogdanov 7230965e62 Support for property reference inlining 2016-09-07 12:01:49 +03:00
Michael Bogdanov 237afb4b7c Mark linenumber in property reference 2016-09-07 12:01:48 +03:00
Michael Bogdanov b4ae70139a PropertyReferenceCodegen refactoring 2016-09-07 12:01:48 +03:00
Michael Bogdanov a12d7b6019 Check lambda inlining in package part files in test framework 2016-09-07 12:01:47 +03:00
Dmitry Petrov f2b8569b4b KT-13735 NoSuchMethodError for generic typealias acces
Use underlying constructor descriptor for type alias constructor code generation.
2016-09-07 09:46:00 +03:00
Nikolay Krasko 727ff15af3 j2k: fix converter
(cherry picked from commit a21e85b)
2016-09-06 15:28:00 +03:00
Nikolay Krasko 9970289efb j2k: right after convert
(cherry picked from commit c0db343)
2016-09-06 15:27:58 +03:00
Nikolay Krasko 9606282d01 j2k: rename file
(cherry picked from commit 8deaa34)
2016-09-06 15:27:57 +03:00
Nikolay Krasko acc7c3286c Extract base class for goto action tests
(cherry picked from commit 0b25723)
2016-09-06 15:27:55 +03:00
Nikolay Krasko 115bc7e73b Tests for GotoTypeDeclaration action
(cherry picked from commit 3cd100b)
2016-09-06 15:27:54 +03:00
Alexey Tsvetkov eb22c94b6d Fix maven build 2016-09-06 14:48:07 +03:00
Alexey Andreev 43abdaa894 KT-13658: don't capture FakeCallableDescriptorForObject in closure 2016-09-06 10:59:56 +03:00
Denis Zharkov 6a22d75dd7 Drop TypeAliasDeserializer
Currently it's only used for local type aliases, while code in
'deserializeTypeAlias' works properly only for nested or top-level type
aliases.

Also it seems that serialization of types based on local type aliases
doesn't work now anyway (see KT-13692)
2016-09-05 17:54:36 +03:00
Denis Zharkov 86c1dbe7b5 Fix decompilation of types based on local classifiers
If deserializing a type with arguments based on a local class for
decompiler, then just return Any type (without arguments).

Previously Any constructor was used with serialized arguments, that lead
to exception

Note that in case of deserialization for compiler nothing changes about
local-classes-based types (LocalClassifierResolverImpl is just inlined)

 #KT-13408 Fixed
2016-09-05 17:54:36 +03:00
Alexander Udalov 1be3b9c192 Exclude more irrelevant maven-generated stuff in CodeConformanceTest 2016-09-05 16:44:54 +03:00
Alexander Udalov dc689ff514 Fix concurrent access issues in CallableReference implementations
Because of multiple reads from the same non-volatile variable, NPE was possible
to achieve in a multi-threaded application
2016-09-05 16:44:54 +03:00