Commit Graph

63804 Commits

Author SHA1 Message Date
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
Dmitriy Novozhilov c223ae03ba [FIR] Don't analyze local classes twice 2020-04-03 10:08:19 +03:00
Dmitriy Novozhilov 119d5b3740 [FIR] Add incoming edge for all members of local class, not only implicit ones 2020-04-03 10:08:18 +03:00
Dmitriy Novozhilov 43e9cbbbf5 [FIR] Add parent graph to CFG 2020-04-03 10:08:18 +03:00
Dmitriy Novozhilov 6be554e765 [FIR] Rename ControlFlowGraph.owner to declaration 2020-04-03 10:08:17 +03:00
Dmitriy Novozhilov 8cb6e8f8af [FIR] Add control flow graph for class initialization 2020-04-03 10:08:17 +03:00
Dmitriy Novozhilov ad9e6517c7 [FIR] Add cfg nodes for classes 2020-04-03 10:08:17 +03:00
Dmitriy Novozhilov 74d86d82c6 [FIR] Add control flow graph to FirAnonymousInitializer 2020-04-03 10:08:16 +03:00
Dmitriy Novozhilov 8d3ee4f304 [FIR] Add cfg reference to classes 2020-04-03 10:08:16 +03:00
Ilya Goncharov c1c0df962f [Gradle, JS] Add browser to test js composite build
#KT-37954 fixed
2020-04-03 09:47:15 +03:00
Ilya Goncharov a5026d60db [Gradle, JS] Configure test executable only once
#KT-37954 fixed
2020-04-03 09:46:15 +03:00
Ilya Goncharov c26c8fdb89 [Gradle, JS] Added binaries names to store
#KT-37954 fixed
2020-04-03 09:46:01 +03:00
Ilya Goncharov 6b32548491 [Gradle, JS] JvmOverloads for Groovy DSL
#KT-37936 fixed
2020-04-03 09:45:49 +03:00
Ilya Goncharov d4ece2b23b [Gradle, JS] Fix ktor version in web mpp wizard
#KT-37980 fixed
2020-04-03 09:45:26 +03:00
Ilya Goncharov 1b294ce5a5 [Gradle, JS] Fix DSL for project wizards
#KT-37936 fixed
#KT-37937 fixed
2020-04-03 09:45:08 +03:00
Ilya Goncharov b3e6738243 [Gradle, JS] Fix binaries.executable for Groovy dsl
#KT-37936 fixed
2020-04-03 09:44:19 +03:00
Toshiaki Kameyama 1f6b7dd88d "Redundant suspend modifier": fix false negative with only recursive call
#KT-35829 Fixed
2020-04-03 01:17:15 +03:00
Ilya Kirillov e3871a9961 Wizard: fix project editor width on the second step
#KT-37821 fixed
2020-04-03 01:09:41 +03:00