- 10 6月, 2020 27 次提交
-
-
由 Mikhail Zarechenskiy 提交于
#KT-17341 Obsolete #KT-32958 Obsolete
-
由 Konstantin Tskhovrebov 提交于
-
由 Konstantin Tskhovrebov 提交于
Fixed #KT-39465
-
由 Vasily Levchenko 提交于
this change fix issue with inlining lambda in inline function which(function) inlined from other library. E.g. > cat i-lib.kt class _special_class(val v:Int) class _special_class1(val v:Int) class __helper(val v:Int) inline fun foo(h: __helper): Int { val sum = h.op { _special_class(it.v) }.v return sum } inline fun __helper.op(block:(_special_class1) -> _special_class) = block(_special_class1(v)) > cat i-main.kt fun main() { val h = __helper(42) println(foo(h)) } Here how the incorrect parent affects debug information: (lldb) target create "program.kexe" Current executable set to '/Users/minamoto/ws/kotlin-native/program.kexe' (x86_64). (lldb) command source -s 0 'i-test.lldb' Executing commands in '/Users/minamoto/ws/kotlin-native/i-test.lldb'. (lldb) b i-lib.kt:8 Breakpoint 1: where = program.kexe`kfun:#main(){} + 435 [inlined] foo + 98 at i-main.kt:3, address = 0x00000001000540e3 (lldb) r Process 70550 stopped * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1 frame #0: 0x00000001000540e3 program.kexe`kfun:#main(){} [inlined] foo at i-lib.kt:9:7 6 inline fun foo(h: __helper): Int { 7 val sum = h.op { 8 _special_class(it.v) -> 9 }.v ^ 10 return sum 11 } 12 Target 0: (program.kexe) stopped. the parent of lambda is i-main.kt instead of i-lib.kt, and offsets calculated against wrong file. Here is behaviour with fix: (lldb) target create "program.kexe" Current executable set to '/Users/minamoto/ws/.git-trees/minamoto/debug-info/subprograms-with-missed-scopes/program.kexe' (x86_64). (lldb) command source -s 0 '/Users/minamoto/ws/kotlin-native/i-test.lldb' Executing commands in '/Users/minamoto/ws/kotlin-native/i-test.lldb'. (lldb) b i-lib.kt:8 Breakpoint 1: where = program.kexe`kfun:#main(){} + 337 [inlined] <anonymous>_2 at i-lib.kt:14, address = 0x0000000100054bb1 (lldb) r Process 70560 stopped * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1 frame #0: 0x0000000100054bb1 program.kexe`kfun:#main(){} [inlined] <anonymous>_2 at i-lib.kt:8:24 5 6 inline fun foo(h: __helper): Int { 7 val sum = h.op { -> 8 _special_class(it.v) ^ 9 }.v 10 return sum 11 } Target 0: (program.kexe) stopped.
-
由 Vladimir Dolzhenko 提交于
Relates to #KTI-17
-
由 Ilya Goncharov 提交于
-
由 Ilya Goncharov 提交于
-
由 Ilya Goncharov 提交于
-
由 Ilya Goncharov 提交于
-
由 Dmitriy Dolovov 提交于
-
由 Dmitriy Dolovov 提交于
-
由 Nikolay Krasko 提交于
-
由 Nikolay Krasko 提交于
org/intellij/images/fileTypes/ImageFileTypeManager java.lang.NoClassDefFoundError: org/intellij/images/fileTypes/ImageFileTypeManager at org.jetbrains.android.AndroidPlugin.lambda$registerWebpSupport$1(AndroidPlugin.java:50)
-
由 Nikolay Krasko 提交于
-
由 Nikita Bobko 提交于
-
由 Nikita Bobko 提交于
CoreJarVirtualFile is now package private. And seems that most of VirtualFiles return system independent path
-
由 Nikolay Krasko 提交于
Otherwise is is an exception in PluginManagerCore because of brokenPlugins.txt file.
-
由 Nikolay Krasko 提交于
-
由 Nikolay Krasko 提交于
-
由 Nikolay Krasko 提交于
-
由 Ilya Goncharov 提交于
-
由 Pavel Kirpichenkov 提交于
-
由 Mads Ager 提交于
This seems to be what JVM does and it allows you to set a breakpoint on the init line.
-
由 Ilmir Usmanov 提交于
In this case, make the result of value type Object instead of unknown.
-
由 Ilmir Usmanov 提交于
This reverts commit 822c1481.
-
由 Alexander Udalov 提交于
-
由 Alexander Udalov 提交于
Actually we do need to generate delegates to DefaultImpls even for Java SAM wrappers, so this condition is incorrect. However, this never worked properly anyway because of KT-12466.
-
- 09 6月, 2020 13 次提交
-
-
由 Mikhail Zarechenskiy 提交于
This issue appeared after recently added new overload for flatMapTo. Before that, we picked candidate returning List<T> and completed inference, now we also check one more flatMapTo, which is here is incorrect and as a result we go into outer scope. Outer scope contains one property with deferred type, which introduced error about "typechecker has run into recursive problem" even it isn't applicable by receiver. So, the fix is to check receiver first and only then check return type of a candidate. #KT-39470 Fixed
-
由 Konstantin Tskhovrebov 提交于
-
由 Konstantin Tskhovrebov 提交于
Fixed #KT-33510.
-
由 Ilya Kirillov 提交于
-
由 Ilya Kirillov 提交于
-
由 Ilya Kirillov 提交于
-
由 Ilya Kirillov 提交于
As resolve is not allowed in EDT thread
-
由 Ilya Kirillov 提交于
-
由 Ilya Kirillov 提交于
Needed for correct handling types lifecycle
-
由 Ilya Kirillov 提交于
This contract ensures that analysis session is used: * in read action * in non-EDT * Project has not changed since the session was created
-
由 Ilya Kirillov 提交于
-
由 Ilya Kirillov 提交于
-
由 Ilya Kirillov 提交于
-