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
Ilya Kirillov
126cd38360
Fix testdata of RemoveSingleLambdaParameter quickfix
2020-04-02 22:25:20 +03:00
Toshiaki Kameyama
cc0cb30b53
"Remove single lambda parameter declaration": do not suggest when lambda is directly under 'if/when'
...
#KT-35995 Fixed
2020-04-02 22:10:57 +03:00
Pierre-Luc Carmel Biron
352a860e46
Add system classloader as a parent of ReplClassLoader.
2020-04-02 19:22:39 +02:00
Victor Petukhov
cec747349e
Fix PSI tests for correct parsing them by the ANTLR grammar
2020-04-02 19:02:31 +03:00
Matthew Gharrity
5786578f38
Fix NPE in ProjectRootsUtilKt.isKotlinBinary
...
Fixes KT-37933
2020-04-02 17:48:25 +03:00
Mikhail Glukhikh
e676967056
Unmute two FIR black box test (related to JDK version)
2020-04-02 17:41:50 +03:00
pyos
a75408b1ed
JVM_IR: use non-nullable types as SAM super types
...
The wrappers for conversions to nullable and non-nullable SAM types are
the same, so differentiating those has no effect other than class name
collisions.
2020-04-02 15:40:17 +02:00
Victor Petukhov
164f25937f
NI: take into account an extension function annotation during CST calculation
2020-04-02 15:28:35 +03:00
Victor Petukhov
f8d72f5dd9
NI: improve lambdas completion – look at all postponed arguments during resolution lambdas by additional conditions
...
^KT-36819 Fixed
^KT-36069 Fixed
2020-04-02 15:28:11 +03:00
Ilya Matveev
3baeb63455
Update K/N: 1.4-M2-dev-15123
2020-04-02 19:22:32 +07:00
Toshiaki Kameyama
a96b359a09
"Remove braces from 'if' statement": do not suggest when lambda is directly under 'if'
...
#KT-35994 Fixed
2020-04-02 12:52:11 +03:00
Toshiaki Kameyama
30366148bf
Convert to block body: adjust line indent
...
#KT-22368 Fixed
2020-04-02 12:48:05 +03:00
Toshiaki Kameyama
1bc72f0b32
"Surround with lambda" quickfix: suggest for suspend function
...
#KT-34371 Fixed
2020-04-02 12:45:47 +03:00
Jinseong Jeon
44c34ab8c3
[FIR2IR] Don't create fake overrides for private property accessors
2020-04-02 12:43:06 +03:00
Jinseong Jeon
3e6b38a921
[FIR] Fix type reference for 1st arg of GetClassCall
2020-04-02 12:42:50 +03:00
Denis Zharkov
4a5643856e
FIR: Extract fir.resolve.calls.tower package
2020-04-02 12:10:50 +03:00
Denis Zharkov
177abe9f87
FIR: Add fixes after review
2020-04-02 12:10:50 +03:00
Denis Zharkov
426609a133
FIR: Fix resolution for HideMembers level
2020-04-02 12:10:50 +03:00
Denis Zharkov
6cc6b9efcb
FIR: Fix overload resolution for some invoke cases
...
Namely, it's about the cases when there are multiple variable candidates
with the same priority and all of them should be collected and compared
2020-04-02 12:10:50 +03:00
Denis Zharkov
bcd79c1e2e
FIR: Drop unused TowerGroup.Weakened
2020-04-02 12:10:50 +03:00
Denis Zharkov
328740f8e1
FIR: Minor. Use copy in CallInfo
2020-04-02 12:10:50 +03:00
Denis Zharkov
7fc0655849
FIR: Refactor CandidateCollector
2020-04-02 12:10:50 +03:00
Denis Zharkov
b52dd8e680
FIR: Extract processLevelForRegularInvoke
2020-04-02 12:10:50 +03:00
Denis Zharkov
19e0cf570c
FIR: Cleanup MemberScopeTowerLevel
2020-04-02 12:10:50 +03:00
Denis Zharkov
9abe669443
FIR: Fix resolution for invokes on class qualifiers
2020-04-02 12:10:50 +03:00
Denis Zharkov
10531d2874
FIR: Refactor createExplicitReceiverForInvoke
2020-04-02 12:10:50 +03:00
Denis Zharkov
b83ffe83fa
FIR: Minor. Add comments
2020-04-02 12:10:50 +03:00