Denis Zharkov
b9e677fef4
Get rid of redundant Map copy
2016-02-10 16:18:59 +03:00
Denis Zharkov
de3f507744
Add minor memory optimization
...
Get rid of 'unsubstitutedValueArguments' in resolved call
2016-02-10 16:18:59 +03:00
Mikhail Glukhikh
a08b8f43b2
Control flow graph for safe calls corrected #KT-10913 Fixed
...
Also #KT-10186 Fixed
Also #KT-5198 Fixed
2016-02-10 12:29:45 +03:00
Natalia Ukhorskaya
5ae394fec0
Optimize reference search for convention functions
2016-02-10 11:36:30 +03:00
Natalia Ukhorskaya
1f6894cdd4
EA-77626 - KNPE: AnonymousFunctionToLambdaIntention.applicabilityRange
2016-02-10 11:36:30 +03:00
Nikolay Krasko
5c6c1173a6
Aggregate configuration messages into one notification (KT-10489)
...
#KT-10489 Fixed
2016-02-10 01:31:38 +03:00
Nikolay Krasko
e2f1a5c092
Minor: refactoring
2016-02-10 01:31:37 +03:00
Zalim Bashorov
cf173d6963
Improve test multifilePackagePartMethodAdded: add file which should not be affected
2016-02-09 23:27:26 +03:00
Zalim Bashorov
f6e7f8c3c0
Introduce TestingContext to pass data between tests and KotlinBuilder; introduce BuildLogger to log build events (build finished, files marked as dirty) in KotlinBuilder
2016-02-09 23:27:25 +03:00
Zalim Bashorov
4ec3865830
Log final exit code instead of intermediate; change log level for build result to INFO
2016-02-09 23:27:24 +03:00
Ilya Gorbunov
1fca1cc607
Use foreach loop instead of directly taking iterator in sum and average.
...
Use indexed loop for arrays in reduce and reduceIndexed.
#KT-10579 Fixed
2016-02-09 22:51:39 +03:00
Ilya Gorbunov
6c7cefaae3
Use HALF_EVEN rounding mode by default for BigDecimal division operator.
...
#KT-10462 Fixed
2016-02-09 22:51:02 +03:00
Dmitry Jemerov
8b5e9d1685
code review; add one more missing description
2016-02-09 19:23:00 +01:00
Dmitry Jemerov
6e1705dd16
port IDEA's InspectionDescriptionTest into Kotlin
...
#KT-10345 Fixed
2016-02-09 19:23:00 +01:00
Dmitry Jemerov
daf26f4db3
more consistent inspection display names; add missing inspection descriptions
...
#KT-10908 Fixed
2016-02-09 19:22:59 +01:00
Alexey Sedunov
bb2a5b00b7
Change Signature: Fix reference substitution when default value is a single simple name reference
...
#KT-10954 Fixed
2016-02-09 19:18:50 +03:00
Alexey Sedunov
792d9c1ae2
Introduce Variable: Skip type in template if no resolvable/non-error types are available in the current context
...
#KT-10808 Fixed
2016-02-09 19:18:45 +03:00
Zalim Bashorov
eacd50c4dc
FIx possible NPEs when try to use TestModuleProperties in IDEA 144.x
...
#EA-78931 Fixed
2016-02-09 15:55:16 +03:00
Michael Bogdanov
0f90dc1649
Code clean and some refactorings in 'getLambdaIfExistsAndMarkInstructions'
2016-02-09 10:19:16 +03:00
Michael Bogdanov
c75b514551
Get rid of InstructionsAndFrames.kt
2016-02-09 10:19:15 +03:00
Michael Bogdanov
b8ee2ecdac
Support extension lambda inlining in complex stack cases (nullable receiver)
2016-02-09 10:19:15 +03:00
Ilya Gorbunov
78b7fb15f3
J2K, expected errors: for each argument of removed overloads
2016-02-09 02:58:09 +03:00
Ilya Gorbunov
b4ebaad8f5
Drop previously deprecated API.
2016-02-09 02:58:07 +03:00
Stanislav Erokhin
434bd0707d
Correcting rewrite type info after compete call.
...
#KT-10934 Fixed
#KT-10896 Fixed
2016-02-08 20:49:31 +03:00
Zalim Bashorov
74b2c8cd31
Minor: fix method name
2016-02-08 19:31:17 +03:00
Ilya Gorbunov
17ebb36128
Test Throwable properties in JS, don't work as expected, commiting as ignored.
...
#KT-10911
2016-02-08 18:10:46 +03:00
Ilya Gorbunov
5361f6e941
Make Throwable properties message and cause open.
...
#KT-5587 Fixed
2016-02-08 18:10:46 +03:00
Pavel V. Talanov
f12c653aed
KtLightClassForFacade is not valid if any of the files it was built for doesn't have top level callables
...
#KT-9434 Fixed
2016-02-08 16:45:47 +03:00
Pavel V. Talanov
f59a4c537e
Minor: remove some dead code
2016-02-08 16:45:46 +03:00
Nikolay Krasko
909ced5fa2
Use non-local functions to avoid creating lambdas in heap
2016-02-08 16:43:55 +03:00
Nikolay Krasko
99a693a14b
Too many empty ArrayList stored for arguments
2016-02-08 16:43:54 +03:00
Nikolay Krasko
ff2029035e
Don't generate new empty list with TypeParameterDescriptor
2016-02-08 16:43:54 +03:00
Denis Zharkov
cd3f7df28c
Create deep descriptors copy for Change signature
...
It's needed to prevent accesses to invalid PSI
after changes has been applied
2016-02-08 16:40:47 +03:00
Denis Zharkov
c879f83037
Fix primitive types mapping
...
Use boxed version if type was enhaced to not-nullable
2016-02-08 16:40:47 +03:00
Denis Zharkov
68110f5859
Add minor optimization
...
Do not copy overrides while creating FAKE_OVERRIDE
2016-02-08 16:40:47 +03:00
Denis Zharkov
18e7272a1e
Do not force overridden descriptors computation
...
Currently 'overriddenDescriptors' of substituted function is lazy
and in most cases it's unnecessary to compute it
(it's enough to use the same field from 'original')
2016-02-08 16:40:47 +03:00
Denis Zharkov
9e3d381eb3
Perform computation of overridden descriptors lazy
...
It's makes sense in cases when descriptors are being substituted, because
in many cases their overridden are not needed.
2016-02-08 16:40:47 +03:00
Denis Zharkov
fae6de9acd
Replace 'addOverriddenDescriptor' with 'setOverriddenDescriptors'
...
It helps to get rid of redundant SmartSets (e.g. for top-level functions)
2016-02-08 16:40:47 +03:00
Denis Zharkov
c1f57b743b
Do not build enhanced descriptors if they are unchanged
2016-02-08 16:40:47 +03:00
Denis Zharkov
924d706e79
Release original Java descriptors while enhancing
...
It's both more correct and helps to release memory retained by
descriptor before enhancement
2016-02-08 16:40:47 +03:00
Denis Zharkov
beea2d5d10
Use source elements instead of descriptors
...
It's needed because resulting descriptors are different
(because they are enhanced) from ones on which load error is reported.
See where latter happens
Currently we suppose that source elements should be stable
2016-02-08 16:40:47 +03:00
Michael Bogdanov
848549dd5d
Rollback "Fix for KT-10659: Debugger: Evaluate Expression and Watches fail for inline function parameter passed by reference"
2016-02-08 16:43:22 +03:00
Pavel V. Talanov
9e5c387d6c
PropertyCodegen: Diagnose descriptor not found for property
2016-02-08 16:18:36 +03:00
Natalia Ukhorskaya
25b8e4f1b2
Do not compute classnames during stepping
...
#KT-10827 Fixed
2016-02-08 15:49:11 +03:00
Natalia Ukhorskaya
d238df8525
Debugger: add test for line breakpoint variants with inline function call. Fix testData for muted test
2016-02-08 15:49:11 +03:00
Zalim Bashorov
3c4cb54573
Allow to use internal declarations from special modules in compiler (JPS)
...
(e.g. IDEA 16 gradle tests loaded in separate module)
#KT-10595 Fixed
2016-02-08 15:42:49 +03:00
Zalim Bashorov
e328c24857
J2K KotlinBuilderModuleScriptGenerator: cleanup
2016-02-08 15:42:48 +03:00
Zalim Bashorov
21e69a0a4c
J2K KotlinBuilderModuleScriptGenerator: convert
2016-02-08 15:42:48 +03:00
Zalim Bashorov
d5030335b6
J2K KotlinBuilderModuleScriptGenerator: .java -> .kt
2016-02-08 15:42:48 +03:00
Zalim Bashorov
2c1d1e84a6
Allow to use internal declarations from special modules in IDEA
...
(e.g. IDEA 16 gradle tests loaded in separate module)
#KT-10595 Fixed
2016-02-08 15:42:47 +03:00