Commit Graph

21 Commits

Author SHA1 Message Date
Nikolay Krasko 9d986d077c Move kotlin runtime library to end of classpath and remove duplicates with 'util' package 2015-05-06 14:18:24 +03:00
Pavel V. Talanov ac2cb9af74 Remove some usages of KotlinBuiltIns.getInstance()
Introduce DeclarationDescriptor.builtIns extension to get builtins where descriptors are available
Introduce various utilities in KotlinBuiltIns to check for primitive types and get fq names of builtins
2015-04-28 12:49:34 +03:00
Alexey Sedunov 8918ddbb0a Refactoring: Move jetRefactoringUtil.kt to idea module. Move compareDescriptors() and comparePossiblyOverridingDescriptors() to descriptorUtils.kt 2015-04-27 23:02:32 +03:00
Pavel V. Talanov 2bc4dde959 Minor: do not set default value in QualifiedExpressionResolver 2015-04-27 15:57:35 +03:00
Pavel V. Talanov 1a5efacbf3 Refactor frontend components
Make dependencies more explicit
Move components out of ExpressionTypingServices
Make ExpressionTypingUtils a true utility class, refactor stuff out
Extract new components: FakeCallResolver, MultiDeclarationResolver, ValueParameterResolver
2015-04-27 15:56:59 +03:00
Dmitry Jemerov 0cf77dfb10 override/implement: correctly generate call to super method with vararg arguments
#KT-7580 FIxed
2015-04-24 14:59:46 +02:00
Dmitry Jemerov f5019371bd OverrideImplementMethodsHandler: cleanup after conversion 2015-04-24 14:16:00 +02:00
Dmitry Jemerov e9c669c841 OverrideImplementMethodsHandler: J2K 2015-04-24 14:05:58 +02:00
Dmitry Jemerov 5ba89206b7 OverrideImplementMethodsHandler: rename to .kt 2015-04-24 14:00:37 +02:00
Evgeny Gerashchenko f5677d8424 Converted JetPsiUtil.getElementTextWithContext() to Kotlin extension function. 2015-04-22 14:10:00 +03:00
asedunov 417611e2be Merge pull request #644 from JetBrains/rr/yole/kt6669
Override/Implement Members: Escape identifiers in generated super method call
2015-04-21 16:42:23 +03:00
Dmitry Jemerov efa41bfb2a support quick doc for completion items
#KT-4346 Fixed
2015-04-21 15:36:38 +02:00
Mikhail Glukhikh 27625b04e1 Refactoring of JetTypeInfo / BindingContext. Loop data flow analysis corrected.
Now BindingContext includes expression type info instead of jump out possible, data flow info and expression type.
getType() was added into BindingContext, getType() and recordType() were added into BindingTrace.
JetTypeInfo now includes also jump possible flag and jump point data flow info.
Old TypeInfoWithJumpInfo deleted.
TypeInfoFactory introduced to create JetTypeInfo instances.
A pack of extra tests for break / continue in loops added.
2015-04-21 15:29:07 +03:00
Alexey Sedunov 02b0c4c7eb Name Suggester: Do not strip "get"/"is"/"set" prefixes if remaining sequence is not upper-cased
#KT-7399 Fixed
2015-04-15 23:20:51 +03:00
Dmitry Jemerov d32ff50579 escape identifiers in generated super method call in Override/Implement
#KT-6669 Fixed
2015-04-15 15:44:11 +02:00
Valentin Kipyatkov 3faf6cc3e8 Correct value passed as containingDeclarationOrModule to SmartCastUtils 2015-04-13 14:30:02 +03:00
Valentin Kipyatkov 33f119a65a Renamed "containingDeclaration" parameters to "containingDeclarationOrModule" to make it more clear that we can pass ModuleDescriptor instead of precise containing declaration 2015-04-13 14:30:02 +03:00
Valentin Kipyatkov 066a7c3002 Code style setting for packages to always use star imports and UI for it 2015-04-13 13:41:43 +03:00
Valentin Kipyatkov 0f9858bb75 Code style setting to import nested classes 2015-04-13 13:41:43 +03:00
Stanislav Erokhin b703f59e04 Migrate kotlin sources, maven projects and stdlib to new lambda syntax 2015-04-07 13:08:53 +03:00
Valentin Kipyatkov 412ab8f8b8 Split module idea into idea, idea-core and idea-completion 2015-04-06 14:28:40 +03:00