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
Alexey Tsvetkov
6b09b4c2b6
JS: do not create variable for result, if inline call is only return subexpression
2015-04-24 18:19:34 +03:00
Alexey Tsvetkov
ea41bc4231
JS: do not create variable for result, if inline function has one top level return
2015-04-24 18:19:34 +03:00
Alexey Tsvetkov
c9b24510bb
JS: do not create var for result if statement is 'someVar = inlineCall()'
2015-04-24 18:19:33 +03:00
Alexey Tsvetkov
fd09d4d837
Minor in JS: moved test for additional vars during inline to separate directory
2015-04-24 18:19:33 +03:00
Alexey Tsvetkov
7a0787bc25
JS: converted FunctionInlineMutator to Kotlin
2015-04-24 18:19:33 +03:00
Alexey Tsvetkov
3bad62840e
JS: changed file extension FunctionInlineMutator.kt->.java
2015-04-24 18:19:33 +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
Ilya Ryzhenkov
bcb0b499f4
Workaround to allow QualifiedExpressionResolver to be created without an Injector. Should be fixed by code owner.
2015-04-24 15:44:44 +03:00
Ilya Ryzhenkov
79388d0dbf
Update test data for highlighter tests on deprecations.
2015-04-24 15:44:43 +03:00
Ilya Ryzhenkov
879b6a0a3f
Implement deprecated validator.
2015-04-24 15:44:42 +03:00
Ilya Ryzhenkov
288e1baa87
Tests, messages and infra for deprecated symbol reporting
2015-04-24 15:44:32 +03:00
Ilya Ryzhenkov
c8920b8158
Include arrayOf() into list of constant values for annotations
2015-04-24 15:44:30 +03:00
Ilya Ryzhenkov
aec37a35dc
Add renderAccessors flag to DescriptorRenderer to render property accessors as "setter for …"
2015-04-24 15:44:29 +03:00
Ilya Ryzhenkov
c2b3bcc95f
SymbolUsageValidator infrastructure
2015-04-24 15:44:28 +03: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
Stanislav Erokhin
b3aadfd5e0
Performance workaround for assert call.
2015-04-24 09:02:47 +03:00
Stanislav Erokhin
8582f4ab47
Fixed memory leak
2015-04-24 09:02:47 +03:00
Alexander Udalov
d1f94e8468
Get rid of confusing javaToKotlinCovariant map
2015-04-24 02:09:34 +03:00
Alexander Udalov
d2cd7b00bb
Map intrinsic companion objects in JavaToKotlinClassMap
...
Get rid of multiple usages of IntrinsicObjects where JavaToKotlinClassMap was
already used, simplify code, and support loading of *CompanionObject as Kotlin
built-in companions from Java code.
Also fix a small bug where Boolean was considered a class with an intrinsic
companion in IntrinsicObjects, although it was not
2015-04-24 02:09:26 +03:00
Alexander Udalov
987206bf95
Merge JavaToKotlinClassMap and JavaToKotlinClassMapBuilder
2015-04-24 02:09:05 +03:00
Alexander Udalov
43c11b2925
Merge CollectionClassMapping into JavaToKotlinClassMap
2015-04-24 02:09:05 +03:00
Alexander Udalov
a59fa5015e
Merge KotlinToJavaTypesMap into JavaToKotlinClassMap
...
Also use this new Kotlin->Java mapping in RuntimeTypeMapper instead of
inheriting directly from JavaToKotlinClassMapBuilder
2015-04-24 02:09:05 +03:00
Alexander Udalov
b956fb5eb0
Pull Java<->Kotlin primitive type mapping up to JavaToKotlinClassMapBuilder
2015-04-24 02:09:04 +03:00
Alexander Udalov
4b07ec11ea
Change Class<?> parameter to ClassId in JavaToKotlinClassMap implementations
2015-04-24 02:09:04 +03:00
Alexander Udalov
0dec1eaaad
Refactor RuntimeTypeMapper, extract IntrinsicObjects-related behavior
...
Make it similar to other JavaToKotlinClassMapBuilder implementations to be able
to get rid of that inheritance
2015-04-24 02:09:04 +03:00
Alexander Udalov
ad02706294
Get rid of unnecessary map in RuntimeTypeMapper
2015-04-24 02:09:04 +03:00
Alexander Udalov
73de54f557
Get rid of unneeded additional map in JavaToKotlinClassMap
2015-04-24 02:09:03 +03:00
Alexander Udalov
deff3968db
Simplify KotlinToJavaTypesMap, use only one map
2015-04-24 02:09:03 +03:00
Alexander Udalov
23a792aa44
Somewhat simplify mapping of JVM primitive types
2015-04-24 02:09:03 +03:00
Alexander Udalov
0a66c78449
Disperse primitive type mapping in JavaToKotlinClassMap
2015-04-24 02:09:02 +03:00
Alexander Udalov
d86b9c8f54
Drop unused primitive wrapper mapping in JavaToKotlinClassMap
2015-04-24 02:08:37 +03:00
Alexander Udalov
6a158c2b16
Remove unused method from PlatformToKotlinClassMap
2015-04-24 02:08:37 +03:00
Alexander Udalov
3014238189
Drop unused MutablePackageFragmentProvider
2015-04-24 02:08:36 +03:00
Alexander Udalov
34fa61675d
Replace more eager asserts in project with lazy
2015-04-24 02:08:22 +03:00
Alexander Udalov
1a48b5750e
Minor, remove unnecessary unwrapping of VariableAsFunctionResolvedCall
...
Almost all of its methods delegate to functionCall already
2015-04-23 22:09:02 +03:00
Alexander Udalov
07c2442405
Make $default methods non-private, avoid generating accessors for them
...
#KT-5786 Fixed
2015-04-23 22:09:02 +03:00