Zalim Bashorov
ced23c02bd
New IC: add processing changes for constants
2016-02-10 22:56:09 +03:00
Zalim Bashorov
e33e31ad16
KotlinBuilder: don't request additional round when it's unnecessary & fix warnings
2016-02-10 21:37:12 +03:00
Zalim Bashorov
88c8f24887
Caching results of JpsUtils#isJsKotlinModule
...
#KT-9636 Fixed
2016-02-10 21:30:25 +03:00
Denis Zharkov
12552d2fc1
Refine special bridges generation
...
#KT-10958 Fixed
2016-02-10 20:18:46 +03:00
Denis Zharkov
6d98909c7a
Minor. Add not-nullable upper bound
2016-02-10 20:18:46 +03:00
Denis Zharkov
45bf300144
Minor. Rename variables
2016-02-10 20:18:46 +03:00
Denis Zharkov
0fb565851f
Minor. Extract function
2016-02-10 20:18:46 +03:00
Denis Zharkov
8592a57be4
Drop unnecessary check and corresponding parameter
2016-02-10 20:18:46 +03:00
Denis Zharkov
0b37d032c8
Minor. Split complicated conditions
2016-02-10 20:18:46 +03:00
Natalia Ukhorskaya
9070eff6ad
KotlinPositionManager: add progress when computing classnames for inline function
2016-02-10 18:30:29 +03:00
Denis Zharkov
9ac2da8c96
Optimize 'setResultingSubstitutor'
...
Replace Map with plain List, use parameter's index as a key
2016-02-10 16:18:59 +03:00
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