Alexey Sedunov
5dcf531048
Formatter: Leave single space between val/var and value parameter
2015-12-25 18:50:52 +03:00
Alexey Sedunov
2895e2e86f
Change Signature: Process implicit usages of data class 'componentN' functions
...
#KT-9393 Fixed
2015-12-25 18:50:48 +03:00
Alexey Sedunov
4fba251fba
Intentions: 'Implement abstract member' (Kotlin -> Java)
...
#KT-8467 Fixed
2015-12-25 18:50:41 +03:00
Alexey Sedunov
03641ffbee
Intentions: 'Implement abstract member' (Kotlin -> Kotlin)
...
#KT-8467 In Progress
2015-12-25 18:50:37 +03:00
Alexey Sedunov
123b813073
'Replace with infix call' Intention: Disable on calls without explicit receiver
...
#KT-6332 Fixed
2015-12-25 18:50:34 +03:00
Alexey Sedunov
ae636a0d32
Iterate Intention: Add support of destructuring declarations
2015-12-25 18:50:30 +03:00
Alexey Sedunov
1d3054e7a6
Iterate Intention: Filter out functions without 'operator' modifier
2015-12-25 18:50:27 +03:00
Alexey Sedunov
1c74bab1cc
Iterate Intention: Fix detection of extension iterators
...
#KT-8616 Fixed
2015-12-25 18:50:23 +03:00
Alexey Sedunov
ee9389d089
Create from Usage: Strip first parameter of extension function when expected type is non-extension
2015-12-25 18:50:19 +03:00
Alexey Sedunov
da2806acde
Minor: Fix IllegalAccessError on referencing synthetic property
2015-12-25 12:59:15 +03:00
Michael Bogdanov
f870e365fa
Removed accessors for const properties
2015-12-25 11:28:10 +03:00
Michael Bogdanov
b4db23a7b3
Removed 'INSTANCE' field from companions
2015-12-24 13:59:45 +03:00
Michael Bogdanov
2e73559f33
Removed 'INSTANCE$' field generation
2015-12-24 13:59:44 +03:00
Michael Bogdanov
aeb6486473
Deprecated 'INSTANCE$' replaced with 'INSTANCE'
2015-12-24 13:59:43 +03:00
Denis Zharkov
80fd9e3cbb
Fix wrong contract assumption
...
Currently SamAdapterOverridabilityCondition can be called
even for incompatible descriptors
#KT-10486 Fixed
2015-12-24 12:25:31 +03:00
Ilya Gorbunov
f9ba35af64
Place Char constants into builtin Char companion object.
2015-12-24 06:18:51 +03:00
Ilya Gorbunov
de11ed4fc6
Primitive Companion objects do not longer implement IntegerConstants and FloatingPointConstants. All declarations moved inside companions.
...
IntegerConstants and FloatingPointConstants are dropped.
#KT-8897 Fixed
2015-12-24 06:17:03 +03:00
Mikhail Glukhikh
fc4250b02b
EA-75872 / KT-10473 fix: both JVM- and JS-diagnostic factories are now used as extensions
2015-12-23 18:33:50 +03:00
Mikhail Glukhikh
99a32b93fb
Implemented missed checks for local functions #KT-10449 Fixed
...
Relevant code/test fixes
2015-12-23 18:22:32 +03:00
Mikhail Glukhikh
15746cbf56
Implicit callable type check refactoring, additional check for property with explicit Nothing type
2015-12-23 18:04:25 +03:00
Mikhail Glukhikh
6b8b39a7bd
Intersection types are no more allowed in signatures #KT-10244 Fixed
2015-12-23 18:04:21 +03:00
Mikhail Glukhikh
f56dc722d9
Lateinit property backing field now inherits visibility from the property setter
2015-12-23 18:02:20 +03:00
Mikhail Glukhikh
ebda21c68a
Codegen tests for lateinit var with private setter
2015-12-23 18:02:07 +03:00
Mikhail Glukhikh
60521e20ff
SETTER_VISIBILITY_DIFFERS_FROM_LATEINIT_VISIBILITY diagnostic removed
2015-12-23 17:48:28 +03:00
Pavel V. Talanov
cfacd5da1e
Fix a problem caused by getting project using an invalid psi element
2015-12-23 17:07:51 +03:00
Alexander Udalov
a7324ebad2
Minor, additional constructor for JvmPackagePartSource
2015-12-23 16:45:26 +03:00
Alexander Udalov
12e921ab15
Minor, add test on annotation in enum companion
2015-12-23 16:45:26 +03:00
Alexander Udalov
7170d488bd
Fix package part class name calculation
...
Package part name can contain dollars
2015-12-23 16:45:26 +03:00
Alexander Udalov
e67318e049
Minor, add DescriptorUtils.isClassOrEnumClass
2015-12-23 16:45:26 +03:00
Alexander Udalov
48a0a95e8f
Fix nested class context in cls stub builder
...
Previously two contexts were created for a nested class stub: one with the
replaced NameResolver, another with everything else. Now only one is created
2015-12-23 16:45:26 +03:00
Alexander Udalov
cd435c4130
Do not load implClassName JVM proto extension
...
Use JvmPackagePartSource instead for functions/properties in package parts,
check containing class kind for properties in interfaces
2015-12-23 16:45:26 +03:00
Alexander Udalov
03606c13aa
Introduce PackagePartSource to store part class name in deserialized descriptors
...
Not used at the moment, will be in the following commits
2015-12-23 16:45:26 +03:00
Alexander Udalov
f4c5289cfc
Minor, fix typo in class name: jmv -> jvm
2015-12-23 16:45:26 +03:00
Alexander Udalov
51cdb981f4
Remove obsolete code in IncrementalPackageFragmentProvider
2015-12-23 16:45:26 +03:00
Alexander Udalov
f7969621d6
Don't read isStaticInOuter message for fields
...
It's only written for fields of properties of companion objects of classes;
handle that case manually in deserialization
2015-12-23 16:45:26 +03:00
Alexander Udalov
696dce68fb
Move deserialized callable descriptors to single file, convert to Kotlin
2015-12-23 16:45:26 +03:00
Alexander Udalov
19372a7210
Minor, make ProtoContainer sealed with two subclasses
2015-12-23 16:45:26 +03:00
Alexander Udalov
745de229cc
Minor, split IMPL_CLASS_NAME_FOR_CALLABLE to two slices
2015-12-23 16:45:26 +03:00
Yan Zhulanow
b3877b5f0b
Always compile Android projects without JDK in classpath #KT-10479
2015-12-23 16:42:35 +03:00
Pavel V. Talanov
70dc5a5c4c
IDELightClassGenerationSupport: fix a problem when marking source root as both source and library source led to SO
...
# KT-10413 Fixed
2015-12-23 16:08:34 +03:00
Pavel V. Talanov
a8c5e0cc95
Minor, ProjectRootsUtil: extract a couple of utils and use them
2015-12-23 16:08:34 +03:00
Pavel V. Talanov
f20aba63a6
Add better diagnostic for "could not create stub for nested class" failures
2015-12-23 15:13:13 +03:00
Pavel V. Talanov
6a1ca7b9c9
Fix an exception caused by objects literals in supertype list not considered local
2015-12-23 14:56:27 +03:00
Dmitry Petrov
00db7d150b
Fix KT-10472: compare all overloads including varargs in a single pass.
2015-12-23 10:05:40 +03:00
Nikolay Krasko
f25d80c38b
Make add test lib quick-fix applicable only when there is unresolved import
2015-12-22 19:44:15 +03:00
Nikolay Krasko
259397db9d
Add library for Gradle
2015-12-22 19:44:15 +03:00
Nikolay Krasko
2fba6c361a
Determine maven library version from kotlin-stdlib
2015-12-22 19:44:15 +03:00
Nikolay Krasko
5467671a21
Add libraries to maven
2015-12-22 19:44:15 +03:00
Nikolay Krasko
1b92fa94bc
Add kotlin-test.jar to classpath quickfix
2015-12-22 19:44:14 +03:00
Pavel V. Talanov
99966c17da
Go to (show) implementations: skip light methods that are generated with DELEGATION or DELEGATION_TO_DEFAULT_IMPLS JvmDeclarationOriginKind
...
Add some unrelated tests for fake overrides
2015-12-22 17:30:51 +03:00