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
Alexander Udalov
21d9c272c9
Minor, improve error messages when serializing error types
2015-04-28 00:54:31 +03:00
Alexander Udalov
95c4fb16f4
Minor, add toString() to PackageFragmentDescriptorImpl
2015-04-28 00:54:23 +03:00
Alexander Udalov
244f37aa74
Use preloader for JS compilation in build.xml
...
Similar to "new-kotlinc" macro. Before this change bootstrap-runtime appeared
earlier on the classpath than the newly built compiler, and so everything was
breaking when e.g. built-ins metadata had been updated (old version in the old
runtime was found earlier than the newer version in the compiler)
2015-04-28 00:52:03 +03:00
Alexander Udalov
167942f4bb
Add constant "invoke" to OperatorConventions
2015-04-28 00:51:50 +03:00
Alexander Udalov
94eac98500
Reformat some code, optimize imports, remove unused
...
Mostly in JVM codegen intrinsics
2015-04-28 00:35:53 +03:00
Alexey Sedunov
7831e75955
Change Signature: Introduce variable for expression which can't be safely copied in the course of argument substitution
2015-04-27 23:02:39 +03:00
Alexey Sedunov
14f63cdce5
Change Signature: Substitute parameter references in default values of call expression arguments
2015-04-27 23:02:38 +03:00
Alexey Sedunov
cbbeec3790
Change Signature: Keep base function descriptor in JetParameterInfo
2015-04-27 23:02:36 +03:00
Alexey Sedunov
bd6031fea1
Change Signature: Initialize JetFunctionCallUsage delegate early to ensure consistent analysis results
2015-04-27 23:02:35 +03:00
Alexey Sedunov
720e696f6b
Refactoring: Represent call-site default value of JetParameterInfo as JetExpression
2015-04-27 23:02: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
Alexey Sedunov
d07fc878e7
Minor: Add default values to parameters of JetChangeInfo constructor
2015-04-27 23:02:31 +03:00
Natalia Ukhorskaya
47bc89775d
Minor: add message for assert EA-64788
2015-04-27 18:43:48 +03:00
Natalia Ukhorskaya
328013a351
Evaluate Expression: box and unbox arguments before running JDIEval
2015-04-27 18:43:47 +03:00
Natalia Ukhorskaya
7e245e97ad
JDIEval: add box and unbox methods
2015-04-27 18:43:47 +03:00
Natalia Ukhorskaya
7723a9f434
Fix evaluate expression on properties with getter
2015-04-27 18:43:46 +03:00
Dmitry Jemerov
cb553bc952
split string literal if Enter is pressed in the middle
...
#KT-6308 Fixed
2015-04-27 17:39:12 +02:00
Dmitry Jemerov
22aa8599c9
KotlinQuoteHandler: J2K
2015-04-27 17:39:11 +02:00
Dmitry Jemerov
e60ea6449a
KotlinQuoteHandler: rename .java to .kt
2015-04-27 17:39:10 +02:00
Natalia Ukhorskaya
1ae3e9bbfe
Subplugin-example: change scope for gradle-api library
2015-04-27 16:24:52 +03:00
Natalia Ukhorskaya
4d896b47e7
kotlin-android plugin: check minimal version of android plugin
2015-04-27 16:24:51 +03:00
Natalia Ukhorskaya
88e9439d25
kotlin-android plugin: use VariantDataList instead of list of Variant.
...
Support junit tests
Fix sourceRoot dependencies for productFlavors
#KT-7065 Fixed
#KT-7506 Fixed
2015-04-27 16:24:51 +03:00
Natalia Ukhorskaya
cb85da3162
Gradle: update kotlin-gradle-plugin dependencies
2015-04-27 16:24:50 +03:00
Natalia Ukhorskaya
2bccfa99e1
Gradle: update android test to use gradle 2.3 and android-plugin 1.1.0
2015-04-27 16:24:49 +03:00
Natalia Ukhorskaya
4265994118
Update gradle-api to 2.3
2015-04-27 16:24:49 +03:00
Natalia Ukhorskaya
8ed628cef5
Update README: how to update gradle-api.jar
2015-04-27 16:24:48 +03:00
Natalia Ukhorskaya
f0e93d2df5
Gradle: Include java sources to sources, not to classpath
...
#KT-7503 Fixed
2015-04-27 16:24:47 +03:00
asedunov
3da49df471
Merge pull request #650 from JetBrains/rr/yole/kt7531
...
override hierarchy: convert some more code to Kotlin, sort out nullabili...
2015-04-27 16:21:37 +03:00
Dmitry Jemerov
478b18e376
remove two final occurrences of 'class object' from testdata
2015-04-27 15:14:34 +02:00
Dmitry Jemerov
fd5c3e3b9d
remove obsolete test for completing 'object' after 'class'
2015-04-27 15:14:33 +02:00
Dmitry Jemerov
cbbb2fcd48
fix JetParsingTestGenerated
2015-04-27 15:14:33 +02:00
Dmitry Jemerov
683d727c72
drop deprecated syntax for class objects
2015-04-27 15:14:33 +02:00
Dmitry Jemerov
61a02a9d5a
convert isOverrideHierarchyElement() to extension function
2015-04-27 14:59:15 +02:00
Pavel V. Talanov
2bc4dde959
Minor: do not set default value in QualifiedExpressionResolver
2015-04-27 15:57:35 +03:00
Pavel V. Talanov
430b20cb74
Minor: missed copyright
2015-04-27 15:57:10 +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
Pavel V. Talanov
50ae8182b8
Refactor ExpressionTypingVisitorDispatcher to make it more "componentlike"
2015-04-27 15:56:43 +03:00
Pavel V. Talanov
1e5108a2ab
Drop unused InjectorForLazyTopDownAnalyzerBasic
2015-04-27 15:56:36 +03:00
asedunov
c39dd59703
Merge pull request #649 from JetBrains/rr/yole/override-varargas
...
Override/Implement: J2K; correctly generate call to super method with varargs
2015-04-27 15:48:53 +03:00
Svetlana Isakova
4f0d541493
Resolve function references independently of target type
...
KT-7564 AbstractDiagnosticsTest.checkAllResolvedCallsAreCompleted() fails on tests with function references
#KT-7564 Fixed
2015-04-27 13:32:47 +03:00
Ilya Gorbunov
5ee17c0c26
Remove deprecated split usages in build-protobuf-lite script.
2015-04-24 20:50:29 +03:00
Ilya Gorbunov
d734dad4b8
Replace deprecated methods in FormatHtmlUtil.
2015-04-24 20:50:28 +03:00
Michael Bogdanov
39fabda611
New diagnostic for Java default method call via super in trait
2015-04-24 18:54:09 +03:00
Michael Bogdanov
0854c601b4
Fix non local returns to functional expressions
2015-04-24 18:54:09 +03:00
Alexey Tsvetkov
012bc8f1db
Revert "Simple workaround for problem described in KT-6437"
...
This reverts commit 34d408eb7b .
2015-04-24 18:19:34 +03:00
Alexey Tsvetkov
764c506aaa
JS: do not generate break for top level return during inline
2015-04-24 18:19:34 +03:00
Alexey Tsvetkov
cbdfaeb998
Minor in JS: store js test directives in a list
2015-04-24 18:19:34 +03:00
Alexey Tsvetkov
bced28ee41
Minor in JS: simplify count vars directive
2015-04-24 18:19:34 +03:00
Alexey Tsvetkov
900147385d
JS: do not alias 'this' literal in a receiver position
2015-04-24 18:19:34 +03:00