Alexander Udalov
596fdab2f2
Extract container for single-module top-down analysis
2016-10-02 21:03:26 +03:00
Alexander Udalov
2699356ce3
Simplify JavaClassFinderPostConstruct, inline javaAnalysisInit
2016-10-02 21:03:25 +03:00
Alexander Udalov
278941a8a1
Deduplicate code in container creation for JVM analysis
2016-10-02 21:03:24 +03:00
Alexander Udalov
0250ea861c
Simplify return types of createContainer* functions
2016-10-02 21:03:23 +03:00
Alexander Udalov
9cfe0be98e
Prettify TopDownAnalyzerFacadeFor{JVM,JS}
2016-10-02 21:03:22 +03:00
Alexander Udalov
4467e127f0
J2K TopDownAnalyzerFacadeFor{JVM,JS}: convert to Kotlin
2016-10-02 21:03:21 +03:00
Alexander Udalov
b34150e1ce
J2K TopDownAnalyzerFacadeFor{JVM,JS}: rename files
2016-10-02 21:03:21 +03:00
Alexander Udalov
be5e0f4275
Minor, improve exception when getting missing component from container
2016-10-02 21:03:20 +03:00
Alexander Udalov
87fe6c41df
Drop ExternalDeclarationsProvider
...
It was added for Android extensions, but now another mechanism is used there
(PackageFragmentProviderExtension), and there were no other implementations of
ExternalDeclarationsProvider in the project
2016-10-02 21:03:19 +03:00
Alexander Udalov
1d6abc32bc
Minor, delete ModuleContext#builtIns
2016-10-02 21:03:18 +03:00
Ilya Gorbunov
0180c614c0
Add parent pom reference to idl2k module.
...
Tie kotlin-version of dependencies to the version of parent project being built.
2016-10-01 01:19:15 +03:00
Valentin Kipyatkov
a55273646a
Fixed check for convention operator
2016-09-30 21:37:48 +03:00
Valentin Kipyatkov
57faa5a39a
Term changes
2016-09-30 21:37:48 +03:00
Valentin Kipyatkov
769943061e
Changed String to Name
2016-09-30 21:37:47 +03:00
Valentin Kipyatkov
17adee68cd
Fixed optimize imports for operators
2016-09-30 21:37:47 +03:00
Valentin Kipyatkov
95a3a29382
Optimize imports to prevent accedential changes in resolve because of import priorities
...
#KT-11640 Fixed
2016-09-30 21:37:47 +03:00
Valentin Kipyatkov
7628fa1608
Checked that KT-13766 Fixed by some changes in resolve
...
#KT-13766 Fixed
2016-09-30 21:37:46 +03:00
Valentin Kipyatkov
f4c65da8f1
Minor
2016-09-30 21:37:46 +03:00
Zalim Bashorov
a07e80f5d9
Make IDEA run configuration compatible with IDEA 2016.3; minor auto changes in run configurations.
2016-09-30 17:58:30 +03:00
Mikhail Glukhikh
ee5202f2ea
Minor refactoring: convert secondary constructor to primary
...
(cherry picked from commit 47446b7)
2016-09-30 16:40:19 +03:00
Mikhail Glukhikh
e417a85276
Minor: secondary constructor to primary is suggested only on keyword and value parameter list
...
(cherry picked from commit 9a3e6d3)
2016-09-30 16:40:08 +03:00
Mikhail Glukhikh
0a4542c6c0
KT-9839 related, secondary constructor to primary: inspection for the single constructor
...
(cherry picked from commit aec0090)
2016-09-30 16:39:58 +03:00
Mikhail Glukhikh
3508bea391
KT-9839 related, primary constructor to secondary: comment restoration
...
(cherry picked from commit 48a1853)
2016-09-30 16:39:46 +03:00
Mikhail Glukhikh
d1958be2a8
KT-9839 related, secondary constructor to primary: comment restoration
...
(cherry picked from commit 998e39e)
2016-09-30 16:39:36 +03:00
Mikhail Glukhikh
725df49c8c
KT-9839: intention introduced: convert secondary constructor to primary one #KT-9839 Fixed
...
(cherry picked from commit f3fa779)
2016-09-30 16:39:24 +03:00
Mikhail Glukhikh
28b70faa99
KT-9839: convert primary constructor to secondary one: leave independent properties in class body as is
...
(cherry picked from commit b90414a)
2016-09-30 16:39:13 +03:00
Mikhail Glukhikh
7f50e6e70e
KT-9839: intention introduced: convert primary constructor to secondary one
...
(cherry picked from commit 93aaa48)
2016-09-30 16:39:01 +03:00
Denis Zharkov
d4418d5686
Prohibit not-Unit suspend functions
...
#KT-13560 Fixed
2016-09-30 12:25:59 +03:00
Denis Zharkov
96186c6217
Prohibit star-projections in last parameter of suspend functions
2016-09-30 12:25:59 +03:00
Alexey Andreev
ea18ea0b8c
KT-13825: write simple name of class to constructor.$metadata$.simpleName.
2016-09-30 12:00:49 +03:00
Dmitry Petrov
bd95d2ef4c
KT-14071 Type alias cannot be used as a qualifier for super
...
Use corresponding class for type alias in super qualifier resolution.
2016-09-30 10:17:30 +03:00
Vsevolod
ff7c7538d4
KT-13931 generate IntRange#contains with awareness of inverse in operator
2016-09-29 17:56:18 +03:00
Vsevolod
1ac07340c9
KT-13931 generate IntRange#contains with respect to side-effects on argument loading, test added
2016-09-29 17:56:18 +03:00
Vsevolod
1f9b148a5d
KT-13931 more compact inIntRange bytecode generation
2016-09-29 17:56:18 +03:00
Mikhail Glukhikh
f95dcad179
CFA minor: retain initialization state while analyzing variable declaration
...
(cherry picked from commit c89f4db)
2016-09-29 15:57:01 +03:00
Mikhail Glukhikh
436b0ec873
CFA merge for definition / initialization : more accurate handling of unknown variables #KT-13969 Fixed
...
(cherry picked from commit 4a96589)
2016-09-29 15:56:47 +03:00
Zalim Bashorov
797f7ab28e
JPS: don't consider that the module is not Kotlin JS until check all libraries.
...
#KT-14082 Fixed
2016-09-29 14:52:51 +03:00
Alexey Andreev
9797a1c35c
JS: move RTTI tests to proper location
2016-09-29 12:00:46 +03:00
Alexey Andreev
c1e13cc788
JS: describe how to run tests in node.js
2016-09-29 12:00:45 +03:00
Alexey Andreev
0c3c2af76d
JS: fix remaining tests. Suppress extensionFromTopLevelUnitOneStringArg.kt, use another approach to check whether object's property accessed via this
2016-09-29 12:00:45 +03:00
Alexey Andreev
44f7a94380
JS: fix bugs in test environment for mocha.js
2016-09-29 12:00:45 +03:00
Alexey Andreev
aa1a0307a6
JS: make most of box tests running in mocha.js
2016-09-29 12:00:44 +03:00
Alexey Andreev
9da1a50cae
JS: move more test to box tests
2016-09-29 12:00:44 +03:00
Alexey Andreev
34bf3e6e56
JS: move more test to box tests
2016-09-29 12:00:43 +03:00
Alexey Andreev
3801052460
JS: move more test to box tests
2016-09-29 12:00:43 +03:00
Alexey Andreev
7e2d5b04de
JS: move more test to box tests
2016-09-29 12:00:42 +03:00
Alexey Andreev
9bf124af3f
JS: move more test to box tests
2016-09-29 12:00:42 +03:00
Alexey Andreev
a18f5eca2d
JS: move more test to box tests
2016-09-29 12:00:41 +03:00
Alexey Andreev
cdf2212c73
JS: move more test to box tests
2016-09-29 12:00:41 +03:00
Alexey Andreev
efb82a044f
JS: move inline test to box tests
2016-09-29 12:00:40 +03:00