Commit Graph

61128 Commits

Author SHA1 Message Date
Ilya Gorbunov b5a0daabc3 Extract kotlin.coroutines.experimental API into compat artifact
Add public API dump for kotlin-coroutines-experimental-compat

#KT-36083
2020-01-29 09:12:39 +03:00
Stanislav Erokhin 075eea5a96 Update year and fix inconsistency with LICENSE.txt 2020-01-28 20:05:44 +03:00
Denis Zharkov 70ce63c8d4 FIR: Support rewritten implicit types calculator in IDE
Unlike the compiler, in the IDE different files may have different
resolve state.

So using ReturnTypeCalculatorForFullBodyResolve may be not correct there
2020-01-28 17:03:50 +03:00
Denis Zharkov c6c773f6f9 FIR: Mark all dependencies' declarations as fully resolved 2020-01-28 17:03:50 +03:00
Denis Zharkov dd51d5065a FIR: Rename classes properly in FirImplicitBodyResolve.kt 2020-01-28 17:03:50 +03:00
Denis Zharkov 1cb18a73db FIR: Get rid of old FirImplicitTypeBodyResolveTransformerAdapter 2020-01-28 17:03:50 +03:00
Denis Zharkov f2abb57021 FIR: Introduce and use FirClass<*>::unsubstitutedScope 2020-01-28 17:03:50 +03:00
Denis Zharkov 6e8d67b96f FIR: Simplify contract in FirScopeProvider::getUseSiteMemberScope 2020-01-28 17:03:50 +03:00
Denis Zharkov de4bfb3973 FIR: Implement FirApplyInferredDeclarationTypesTransformer 2020-01-28 17:03:50 +03:00
Denis Zharkov 8e672222bb FIR: Do not resolve implicitly typed function twice 2020-01-28 17:03:50 +03:00
Denis Zharkov c295f2dc25 FIR: Reimplement implicit types calculator
Make it works through a single component tracking computation status
instead of storing it in the nodes
2020-01-28 17:03:50 +03:00
max-kammerer f256547cc8 Revert "JVM_IR: Use direct field access instead of calling certain accessors."
This reverts commit 62f9e7a810.
2020-01-28 14:55:56 +01:00
Igor Yakovlev 6fdd4cb134 Add scroll bar to compiler configuration tab
Fixed #KT-24399
2020-01-28 15:45:39 +03:00
Dmitriy Novozhilov 056c3c95bb [FIR-TEST] Remove unnecessary test 2020-01-28 14:14:21 +03:00
Dmitriy Novozhilov ff3116f0ed [FIR] Support intersection types in some type context methods 2020-01-28 14:14:21 +03:00
Dmitriy Novozhilov 57a1342aac [FIR] Fix creating DefinitelyNotNullTypes
Also fix substitutions to them
2020-01-28 14:14:21 +03:00
Dmitriy Novozhilov 4303cd2fc7 [FIR] Put rendering of cone types in one place and change render for error types 2020-01-28 14:14:21 +03:00
Dmitriy Novozhilov a882cd98ea [FIR] Drop duplicate edges in fir tree graph 2020-01-28 14:14:20 +03:00
Dmitriy Novozhilov 985b61f925 [FIR] Drop ARRAY_CLASS_NAME and use name from StandardClassIds instead 2020-01-28 14:14:20 +03:00
Dmitriy Novozhilov 7d8363d6aa [FIR] Use Function<R> as super type for all FunctionNtypes 2020-01-28 14:14:20 +03:00
simon.ogorodnik 099d737e86 [FIR] Fix compiler configuration for modularized test 2020-01-28 13:21:14 +03:00
Igor Yakovlev f7dfbbbfbd Remove const keyword requirement from UL final fields initializers 2020-01-28 13:01:03 +03:00
Vladimir Dolzhenko 00c71dd098 Clear computable when value is calculated and CallOnceFunction is added
Relates to #KT-35256
2020-01-28 10:50:46 +01:00
Mads Ager 62f9e7a810 JVM_IR: Use direct field access instead of calling certain accessors.
Final default properties accessors that access a backing field
on the same class can be replaced by direct field use.

Perform the optimization late in the pipeline to allow lowerings
to expose more opportunities for optimizations.
2020-01-28 10:42:15 +01:00
Georgy Bronnikov e351d560d6 IR: remove KotlinIrLinker.checkAccessibility
This sanity check conflicted with cases where visibility test is
suppressed in the frontend.
2020-01-28 12:19:44 +03:00
Mikhail Zarechenskiy 678c74b17f [NI] Don't forget to update receivers for builder-inference 2020-01-28 12:19:44 +03:00
Georgy Bronnikov 97abc872b2 IR: deal with corresponding classes for enum entries in JvmDescriptorUniqIdAware 2020-01-28 12:19:44 +03:00
Georgy Bronnikov f75400cc1a IR: avoid some calls of getUniqId() 2020-01-28 12:19:44 +03:00
Georgy Bronnikov 8f4b4007fe JVM_IR: Add test for compiling against cross-platform Klib 2020-01-28 12:19:43 +03:00
Georgy Bronnikov f1b5198b86 Avoid calling ExternalDependenciesGenerator twice 2020-01-28 12:19:43 +03:00
Georgy Bronnikov 5ede65c525 JVM_IR: read Klib 2020-01-28 12:19:43 +03:00
Georgy Bronnikov 47d6bdfd35 IR: add isProvidedByDefault() to SearchPathResolver 2020-01-28 12:19:43 +03:00
Georgy Bronnikov ed4be36484 JVM_IR, minor: change package for JvmMangler 2020-01-28 12:19:43 +03:00
Dmitry Petrov 2d3a142786 Commonize 'fun interface' handling as much as possible
TODO decide something about SamType.createByValueParameter in case of
out-projected types.
2020-01-28 11:40:14 +03:00
Dmitriy Dolovov edff099ab1 [Commonizer] Don't use experimental Kotlin time in commonizer 2020-01-28 15:37:24 +07:00
Dmitriy Dolovov 40b358b43c [Commonizer] Process endorsed libraries in CLI 2020-01-28 15:37:18 +07:00
Dmitriy Dolovov aa1c7bb562 [Commonizer] Fix classpath dependency for CLI 2020-01-28 15:37:11 +07:00
Vladimir Ilmov e4d157c126 [coroutine] running coroutine stack frame merged with coroutine info 2020-01-28 08:40:14 +01:00
pyos f1669e2230 IR: mark interface delegate fields as synthetic
This requires separating them origin-wise from property delegates.
2020-01-28 10:35:22 +03:00
Mikhail Glukhikh ce1f746c5e [FIR] Allow more than one function with some name in local scope 2020-01-28 09:36:56 +03:00
Ilya Matveev 0725a336fc Fix data race in zip FileSystem reference counting
Issue #KT-36076 Fixed
2020-01-28 13:08:40 +07:00
Andrey Uskov 4eb38721a5 Minor. Fix BuildSessionLoggerTest 2020-01-27 22:25:28 +03:00
Andrey Uskov e7057cf2b3 Fix classpath of IDEA plugin tests 2020-01-27 22:24:24 +03:00
Andrey Uskov 9ae3b2cf43 Fixed locking statistics files when multiple gradle daemons started 2020-01-27 22:23:21 +03:00
Igor Yakovlev a68a6b77df Move top level declaration refactoring 2020-01-27 22:05:30 +03:00
Alexander Gorshenev f58a6e054c Provide the same createKotlinLibrary even in multi-component situation 2020-01-27 20:21:32 +03:00
Alexander Gorshenev 8b036ace26 Moved several more components to resolveSingleFileKlib 2020-01-27 20:21:32 +03:00
Alexander Gorshenev 19cbdb096f Fine tuned the single file klib resolver 2020-01-27 20:21:32 +03:00
Alexander Gorshenev fcce35c06f Move tools to resolveSingleFileKlib 2020-01-27 20:21:32 +03:00
Alexander Gorshenev 7390e74bbd Initial implementation of klib components 2020-01-27 20:21:32 +03:00