Alexander Udalov
e72388895b
JVM IR: invoke codegen after lowering all files in the module
...
Inspired by discussion in #2316
2019-05-30 13:28:31 +02:00
Igor Chevdar
b060acf01d
KotlinMangler: added IrType.isInlined
...
Added possibility to specify when IrType corresponds to an inline class
2019-05-30 14:12:03 +03:00
Dmitry Savvinov
8e579855f2
[Testing] Support test roots in dependencies.txt
2019-05-30 12:32:39 +03:00
Dmitry Savvinov
f011c21c94
[Testing] Introduce ProjectResolveModel and parsing it from txt
2019-05-30 12:32:39 +03:00
Dmitry Savvinov
a59daafbb4
[Testing] Add more flexiblity to AbstractMultiModuleTest
...
- Preserve root names
- Provide an ability to transform copied file
- Allow passing several implemented modules in AbstractMultiModuleTest
2019-05-30 12:32:39 +03:00
Dmitry Savvinov
7daf12fa6d
[Testing] Remove duplicate logic, clean-up CheckerTestUtil
2019-05-30 12:32:39 +03:00
Dmitriy Novozhilov
bcbbf4aba3
[NI] Fix replacing original in PropertyDescriptor
2019-05-30 11:01:10 +03:00
Simon Ogorodnik
88a9349f32
Use intersection of star projection type-param bounds instead of type
2019-05-30 09:52:02 +03:00
Yan Zhulanow
b48e0a89c5
Debugger: Hide synthetic '$completion' variable in Kotlin variables mode
2019-05-30 15:27:11 +09:00
Yan Zhulanow
bfb1d53ddf
Debugger: Run control flow on code fragments (KT-30120)
2019-05-30 15:27:11 +09:00
Yan Zhulanow
35c63db9bc
Debugger: Support coroutineContext for suspend functions without suspend calls (KT-24829)
2019-05-30 15:27:11 +09:00
Yan Zhulanow
b5f5149fc0
Add tooltip for Kotlin variables mode button (KT-30730)
2019-05-30 15:27:11 +09:00
Yan Zhulanow
c17c15db42
Debugger: Fix memory leak in conditional breakpoints (KT-31195)
2019-05-30 15:27:10 +09:00
Yan Zhulanow
999d5ce3bb
Debugger: Fix VariableAsFunctionResolvedCall evaluation
2019-05-30 15:27:10 +09:00
Yan Zhulanow
4a90e9d0ab
Debugger: Handle exceptions in async stack trace handler more gracefully (EA-141924)
2019-05-30 15:27:10 +09:00
Yan Zhulanow
0a6a811c57
Debugger: Fix lvalue evaluation (KT-11663, KT-19980)
2019-05-30 15:27:10 +09:00
Yan Zhulanow
bb0bc8a38a
Debugger: Fix toTypedArray() evaluation (KT-8579)
2019-05-30 15:27:09 +09:00
Yan Zhulanow
9ae8a8abf1
Debugger: Fix method evaluation on arrays (KT-11706)
2019-05-30 15:27:09 +09:00
Yan Zhulanow
38dba20e24
Debugger: Allow super calls (KT-20560)
2019-05-30 15:27:09 +09:00
Yan Zhulanow
cbbb3c35da
Debugger: Fix evaluation for local extension functions (KT-13188)
2019-05-30 15:27:09 +09:00
Yan Zhulanow
8b3c22cea6
Debugger: Support hypothetical synchronized methods in the main class
2019-05-30 15:27:08 +09:00
Yan Zhulanow
ee0daae2ab
Debugger: Support synchronized blocks and functions in evaluator (KT-11888)
2019-05-30 15:27:08 +09:00
Yan Zhulanow
55bbcc4601
Generate line numbers for closing '}' in 'init {}' blocks (KT-12787)
2019-05-30 15:27:08 +09:00
Yan Zhulanow
a385b4d9d0
Debugger: Fix evaluation on value parameter name position (KT-30976)
2019-05-30 15:27:08 +09:00
Yan Zhulanow
577b3e096f
Debugger: Fix test (lines were changed because of the updated copyright)
2019-05-30 15:27:08 +09:00
Yan Zhulanow
ae7550c5af
Move out JVM debugger functionality
2019-05-30 15:27:07 +09:00
Dmitriy Novozhilov
5843336d42
Fix compiler errors in nj2k detected after changes in NI
2019-05-29 16:55:07 +03:00
Mads Ager
dc5f4ab240
Add annotation to static methods on DefaultImpls.
2019-05-29 15:37:09 +02:00
Vyacheslav Gerasimov
2fc2c8fa4c
Minor: Cleanup android-sdk, remove obsolete comment & unused configuration
2019-05-29 15:08:05 +03:00
Vyacheslav Gerasimov
1152286ee3
Build: Add kotlin-dependencies to cache-redirector list
2019-05-29 15:08:05 +03:00
Vyacheslav Gerasimov
6b3f341ab5
Build: Publish jcabi-aether-1.0-SNAPSHOT to kotlin-dependencies as 1.0-dev-3
...
This allows to remove dependency on snapshot repository
https://oss.sonatype.org/content/repositories/snapshots
2019-05-29 15:08:05 +03:00
Vyacheslav Gerasimov
9a9acd0fc1
Minor: Cleanup kotlin.buildSrc.prepare-deps/build.gradle.kts
2019-05-29 15:08:05 +03:00
Vyacheslav Gerasimov
0e1d15df5a
Build: Drop android-dx from buildSrc
2019-05-29 15:08:05 +03:00
Vyacheslav Gerasimov
6a38cb050f
Build: Add property for internal kotlin repo
2019-05-29 15:08:05 +03:00
Vyacheslav Gerasimov
2ce961a662
Build: Add kotlin-dependencies repo & update dx coordinates
2019-05-29 15:08:05 +03:00
Vyacheslav Gerasimov
aa79c1bcf6
Build: Extract publication for dependencies to publishing.gradle.kts
2019-05-29 15:08:05 +03:00
Vyacheslav Gerasimov
f5825a45f7
Build: Add bintray publication for dependencies/android-dx
2019-05-29 15:08:05 +03:00
Vyacheslav Gerasimov
10779ea397
Build: Extract android-dx to separate project with publishing
2019-05-29 15:08:04 +03:00
Vyacheslav Gerasimov
d0db006614
Build: Determine versions.properties location by buildscript.sourceURI
2019-05-29 15:08:04 +03:00
Alexander Udalov
2292a1a10e
Ignore new daemon tests instead of muting them on buildserver
2019-05-29 13:18:27 +02:00
Mads Ager
5be0bd4a56
JVM_IR: Enable loadJava tests
2019-05-29 13:10:47 +02:00
Toshiaki Kameyama
65f06454be
Add "Control flow with empty body" inspection
...
#KT-30970 Fixed
2019-05-29 18:04:24 +07:00
Alexander Udalov
d2fcb8cc6a
Get rid of copy-pasted code from JavaSdkUtil
...
#KT-30973 Fixed
2019-05-29 10:50:37 +02:00
Dmitry Gridin
1c4fb9b00b
ConstantConditionIfInspection.replaceWithBranch shouldn't remove subjectVariable with side effects
...
Relates to #KT-30975
2019-05-29 15:40:10 +07:00
Dmitry Gridin
e2d5e9a184
Only when keyword should be highlighted in WhenWithOnlyElseInspection
...
#KT-31673 Fixed
2019-05-29 15:40:10 +07:00
Toshiaki Kameyama
e955dcfc14
WhenWithOnlyElse: don't remove when subject variable if needed
...
#KT-30975 Fixed
2019-05-29 15:40:10 +07:00
Alexey Tsvetkov
7f1d30058a
Fix IC test for multifile part with property
...
Our JPS and Gradle plugins handle
recompilation of multifile classes differently.
JPS plugin delegates handling to the JPS itself,
which tracks dependencies via bytecode,
and marks classes as dirty when they are affected.
So in JPS other parts of multifile classes are recompiled only
when a part's signature is changed.
In Gradle plugin we handle recompilation ourselves in
simpler way: any change in any part leads to a recompilation
of all parts of the same multifile class.
In future we should improve our Gradle plugin, but for now
I'm changing the test so that both JPS and Gradle tests
recompile all parts.
Also the dummy function is added to make sure that we
don't blindly recompile everything when a part is changed.
2019-05-29 10:23:19 +02:00
Alexander Udalov
c13bec0e41
Minor, simplify code in PropertyCodegen
2019-05-29 10:23:19 +02:00
Alexander Udalov
967a6bd80d
Remove NotNull PSI element parameter from PropertyCodegen.generateBackingField
...
#KT-31131 Fixed
2019-05-29 10:23:19 +02:00
Alexander Udalov
e9b50157da
Try loading PSI from descriptor in OtherOrigin constructor
...
To simplify several call sites
2019-05-29 10:23:19 +02:00