- 16 12月, 2020 36 次提交
-
-
由 Dmitriy Novozhilov 提交于
#KT-40396 Fixed
-
由 Dmitriy Novozhilov 提交于
Problem appeared in cases like this: "{someVar.}" #KT-34440 Fixed
-
由 Dmitry Petrov 提交于
-
由 Dmitry Petrov 提交于
-
由 Andrei Klunnyi 提交于
-
由 Igor Yakovlev 提交于
-
由 Igor Yakovlev 提交于
-
由 Igor Yakovlev 提交于
-
由 Igor Yakovlev 提交于
-
由 Igor Yakovlev 提交于
-
由 Igor Yakovlev 提交于
-
由 Igor Yakovlev 提交于
-
由 Igor Yakovlev 提交于
-
由 Igor Yakovlev 提交于
-
由 Igor Yakovlev 提交于
-
由 Igor Yakovlev 提交于
-
由 Victor Petukhov 提交于
This reverts commit 9669ab14
-
由 Victor Petukhov 提交于
This reverts commit 04a4f9cd
-
由 Ilya Kirillov 提交于
-
由 Ilya Kirillov 提交于
-
由 Ilya Kirillov 提交于
-
由 Ilya Kirillov 提交于
-
由 Ilya Kirillov 提交于
-
由 Ilya Kirillov 提交于
does not work in case of incomplete call expression :(
-
由 Ilya Kirillov 提交于
-
由 Ilya Kirillov 提交于
-
由 Ilya Kirillov 提交于
-
由 Ilya Kirillov 提交于
-
由 Ilya Kirillov 提交于
-
由 Ilya Kirillov 提交于
-
由 Ilya Kirillov 提交于
-
由 Ilya Kirillov 提交于
fix fir
-
由 Andrei Klunnyi 提交于
-
由 Andrei Klunnyi 提交于
annotation, data, enum, inner, open - classes supplied with these modifiers cannot be sealed. Commit fixes code completion - "sealed" is no longer suggested in the mentioned case.
-
由 Andrei Klunnyi 提交于
^KTIJ-650 fixed
-
由 Svyatoslav Kuzmich 提交于
Reason: avoid kotlin-stdlib-gen dependency on kotlinStdlib() via wasm.ir
-
- 15 12月, 2020 4 次提交
-
-
由 Jinseong Jeon 提交于
3d7d87ac should have been implemented as aafe41cf did.
-
由 Jinseong Jeon 提交于
-
由 Jinseong Jeon 提交于
This helps avoid adding redundant return Unit into block.
-
由 Jinseong Jeon 提交于
Example from box/inference/coercionToUnitForLambdaReturnTypeWithFlexibleConstraint // FILE: TestJ.java public class TestJ { public static <T> In<T> materialize() { return null; } } // FILE: test.kt class In<in T> fun <T> inferred(e: In<T>?, l: () -> T): T = l() fun box() { inferred(TestJ.materialize<Unit>(), { null }) } `materialize` has flexible type, both for `In<T>` and `T`. When analyzing `{ null }`, collected type constraints include: ft<Unit?, Unit> <: T (from ft<In<ft<Unit, Unit?>>, In<ft<Unit, Unit?>>?>) By allowing the lower bound of flexible type, FIR resolution can visit `{ null }` with the expected type Unit, which will lead to proper coercion to Unit at the end.
-