Commit Graph

63821 Commits

Author SHA1 Message Date
Dmitry Gridin de1fa40c7e CodeInliner: fix KNPE
#KT-22733 Fixed
#KT-36225 Fixed
#EA-206694 Fixed
2020-04-04 00:46:15 +07:00
Ilya Goncharov 12379cb91c [Gradle, JS] Bump NPM versions
#KT-37988 fixed
2020-04-03 20:38:12 +03:00
Ilya Goncharov 187ab5f393 [Gradle, JS] KT-37984 Add additional Chrome and Firefox based browsers
#KT-37984 fixed
2020-04-03 20:37:20 +03:00
Ilya Goncharov 50e6f6e07e [Gradle, JS] Remove hard test 2020-04-03 19:50:13 +03:00
Ilya Gorbunov 8194652793 Allow placing Suppress on a type parameter
#KT-12448
2020-04-03 19:36:37 +03:00
Ilya Gorbunov fcada0a5e3 Make use of contracts of time measurement functions 2020-04-03 19:36:36 +03:00
Nikolay Krasko d71410bfb5 Update version of properties-maven-plugin to 1.0.0 2020-04-03 19:31:32 +03:00
Nikolay Krasko b89a7325b2 Remove https://dl.bintray.com/kotlin/kotlin-eap repository from gradle tests 2020-04-03 19:31:31 +03:00
Nikolay Krasko 01e10324f0 Eliminate 1.3.60-eap-76 usages from tests 2020-04-03 19:31:31 +03:00
Dmitry Petrov a422a12407 Minor: update testData
In BridgeTest::testFakeOverrideMisleadingImplementation,
order of generated bridges has changed slightly
(but the overall set of generated bridges remains the same).
2020-04-03 18:31:39 +03:00
Dmitry Gridin 7938a992dd i18n: make text from intention lazy
#KT-37483
2020-04-03 22:18:45 +07:00
Dmitry Gridin 25dfc6dd63 i18n: make text from intention lazy
#KT-37483
2020-04-03 22:06:00 +07:00
Roman Golyshev d8ca21d728 Add KotlinContextFeatureProvider to the plugin.xml for 201 platform
- Without it we do not have `file_type` and `plugin_version` features in
the statistics from EAP builds
- See KT-36313
2020-04-03 17:33:30 +03:00
Mikhail Glukhikh 75283c74ac [FIR] Generate type arguments for variable assignments 2020-04-03 17:21:39 +03:00
Mikhail Glukhikh d7460d47de [FIR] Generate dispatch & extension receivers for variable assignments 2020-04-03 17:21:21 +03:00
Alexander Udalov 774fc32f3e JVM IR: support optimized callable reference superclasses
See KT-27362.

 #KT-37334 Fixed
2020-04-03 15:37:56 +02:00
Alexander Udalov bb1a12e28e JVM IR: use correct owner for callable references in optimized multifile classes
The owner should always be the facade class, because the part class is
package-private and will be inaccessible from other package.

Note that in the old backend, function references already do have the
facade as the owner correctly, but property references don't, this is
reported as KT-37972.
2020-04-03 15:37:56 +02:00
Alexander Udalov 78467792d5 JVM IR: rename CallableReferenceLowering -> FunctionReferenceLowering
Property references are handled by PropertyReferenceLowering.
2020-04-03 15:37:56 +02:00
Dmitriy Novozhilov 238488d4fb [FIR] Fix collection subgraphs to drop from delegate calls 2020-04-03 15:22:58 +03:00
Mikhail Glukhikh b21da3910a [FIR] Set type arguments also in provideDelegate property reference 2020-04-03 13:42:06 +03:00
Mikhail Glukhikh 8bf4ec66a9 [FIR] Fix receiver type order in delegate property reference 2020-04-03 13:34:46 +03:00
Mikhail Glukhikh f374c36cd2 [FIR2IR] Generate property extension receiver references properly 2020-04-03 13:31:15 +03:00
Mikhail Glukhikh 4234438d8d [FIR] Generate thisRef more correctly for extension property 2020-04-03 13:30:55 +03:00
Mikhail Glukhikh f3f7bf70f6 [FIR] Set delegate field receiver properly 2020-04-03 13:29:55 +03:00
Mikhail Glukhikh 036b6c63f6 [FIR] During resolve, set correctly property reference type in delegate 2020-04-03 13:18:47 +03:00
Mikhail Glukhikh 58e00400f1 [FIR2IR] Support PROPERTY_REFERENCE_FROM_DELEGATE origin 2020-04-03 13:05:13 +03:00
Mikhail Glukhikh 5f8fadb220 [FIR2IR] Remove GET_PROPERTY origin from delegate field reads 2020-04-03 13:04:56 +03:00
Jinseong Jeon 94749855b9 FIR: fix visibility extension for fake override. 2020-04-03 13:03:50 +03:00
Leonid Startsev 0054c22ef2 Use correct return type for serializers
from runtime library.
If used unsubstituted, they cause
e: java.lang.IllegalArgumentException: Unbound type parameters are forbidden
because type parameter T from e.g. PolymorphicSerializer<T> leaked outside.
2020-04-03 12:46:44 +03:00
Igor Yakovlev 75c4607e57 Rename of KotlinQuickDocumentationProvider to KotlinDocumentationProvider 2020-04-03 12:39:03 +03:00
Igor Yakovlev a71fd0e6d9 Support for showing rendered doc comments in editor
Fixed #KT-37361
2020-04-03 12:38:51 +03:00
Dmitriy Novozhilov d620802a18 [FIR] Add equals and hashCode to ConeCapturedType 2020-04-03 10:09:13 +03:00
Dmitriy Novozhilov 7dd91df10b [FIR] Don't analyze with DFA already analyzed classes 2020-04-03 10:08:26 +03:00
Dmitriy Novozhilov 0b2536199b [FIR] Don't analyze delegated constructor calls twice 2020-04-03 10:08:25 +03:00
Dmitriy Novozhilov 20d0e8647d [FIR] Pass data flow to init blocks of local classes 2020-04-03 10:08:25 +03:00
Dmitriy Novozhilov 16b5b2dcef [FIR] Add symbol to FirAnonymousInitializer 2020-04-03 10:08:24 +03:00
Dmitriy Novozhilov bcd2e5ed2c [FIR] Add control flow graph to inplace lambdas 2020-04-03 10:08:24 +03:00
Dmitriy Novozhilov 1d39270b3e [FIR] Don't pass data flow to property accessors of non local classes 2020-04-03 10:08:24 +03:00
Dmitriy Novozhilov bb8d743741 [FIR-TEST] Throw RuntimeException instead of AssertionError in FirResolveBench
This is needed for better usability of testing of changes which
  brake testdata and introduce new exceptions from compiler at same time
2020-04-03 10:08:23 +03:00
Dmitriy Novozhilov 1d1b8d3290 [FIR-TEST] Update cfg dumps according to previous commits 2020-04-03 10:08:23 +03:00
Dmitriy Novozhilov 6faf364a46 [FIR] Update cfg renderer
Now it renderers all subgraphs for each graph
2020-04-03 10:08:23 +03:00
Dmitriy Novozhilov d1422dbf9f [FIR] Don't pass analyzed lambda to data flow analyzer 2020-04-03 10:08:22 +03:00
Dmitriy Novozhilov 68b5e4d13f [FIR] Choose right cfg owner for postponed lambdas 2020-04-03 10:08:22 +03:00
Dmitriy Novozhilov 9fa0a2cc77 [FIR] Drop subgraphs of lambda arguments of delegate calls 2020-04-03 10:08:21 +03:00
Dmitriy Novozhilov 14db88cccb [FIR] Fix double resolution of default property accessors 2020-04-03 10:08:21 +03:00
Dmitriy Novozhilov 9bdd5e47ac [FIR] Fix equality for cfg nodes 2020-04-03 10:08:21 +03:00
Dmitriy Novozhilov b90c8eb8ed [FIR] Analyze annotations of local class before class itself 2020-04-03 10:08:20 +03:00
Dmitriy Novozhilov 1177a56815 [FIR] Don't resolve annotations twice 2020-04-03 10:08:20 +03:00
Dmitriy Novozhilov 28738971bc [FIR] Add transformAnnotations for fir nodes 2020-04-03 10:08:19 +03:00
Dmitriy Novozhilov 3190793b62 [FIR] Add incoming edges to local class's property initializers 2020-04-03 10:08:19 +03:00