Ilya Goncharov
2d068a42f4
[Gradle, JS] Use common isMain for KotlinCompilation
2020-06-10 14:48:29 +03:00
Dmitriy Dolovov
24568058e1
Minor. Remove unused code
2020-06-10 18:41:05 +07:00
Dmitriy Dolovov
84a4644490
[Commonizer] Speed-up serialization of commonized member scopes
2020-06-10 18:15:12 +07:00
Nikolay Krasko
974e01ec70
Fix bunch files after moving plugin.xml
2020-06-10 13:01:20 +03:00
Nikolay Krasko
6babc73320
AS41: Fix problems with initialization of Android plugin in tests
...
org/intellij/images/fileTypes/ImageFileTypeManager
java.lang.NoClassDefFoundError: org/intellij/images/fileTypes/ImageFileTypeManager
at org.jetbrains.android.AndroidPlugin.lambda$registerWebpSupport$1(AndroidPlugin.java:50)
2020-06-10 13:01:20 +03:00
Nikolay Krasko
7190b3400f
202: Fix compilation in DefaultDiagnosticReporter
2020-06-10 12:39:29 +03:00
Nikita Bobko
ff7576f8e4
202: Fix compilation
2020-06-10 12:39:29 +03:00
Nikita Bobko
eb67c4519d
202: Fix compilation because of CoreJarVirtualFile
...
CoreJarVirtualFile is now package private. And seems that
most of VirtualFiles return system independent path
2020-06-10 12:39:28 +03:00
Nikolay Krasko
256bd8d594
202: Disable check for broken plugins in tests
...
Otherwise is is an exception in PluginManagerCore
because of brokenPlugins.txt file.
2020-06-10 12:39:28 +03:00
Nikolay Krasko
143cad78bf
202: Add fastutil dependency to compiler for to make proguard work
2020-06-10 12:39:27 +03:00
Nikolay Krasko
cc709a2ef9
202: Update dependencies
2020-06-10 12:39:27 +03:00
Nikolay Krasko
8485532856
202: Update to the latest EAP
2020-06-10 12:39:26 +03:00
Ilya Goncharov
fdbdc5aac7
[Gradle, JS] Fix error message for both executable
2020-06-10 11:26:22 +03:00
Pavel Kirpichenkov
83144d59be
Fix tests
2020-06-10 10:58:42 +03:00
Mads Ager
dc34d355bc
[JVM_IR] Generate line numbers and nops for init blocks.
...
This seems to be what JVM does and it allows you to set a
breakpoint on the init line.
2020-06-10 08:05:52 +02:00
Ilmir Usmanov
85e2392fef
Fix merging two reference values
...
In this case, make the result of value type Object instead of unknown.
2020-06-09 20:52:29 +02:00
Ilmir Usmanov
5567033b33
Revert "Revert "Completely rewrite reifiedIntTypeAnalysis, making it more streamline""
...
This reverts commit 822c14814b .
2020-06-09 20:52:24 +02:00
Alexander Udalov
e801fad4d4
Minor, unmute test on fun interface inheritance for FIR
2020-06-09 20:00:37 +02:00
Alexander Udalov
e3a23aed33
Minor, remove unneeded check in ClosureCodegen
...
Actually we do need to generate delegates to DefaultImpls even for Java
SAM wrappers, so this condition is incorrect. However, this never worked
properly anyway because of KT-12466.
2020-06-09 19:56:27 +02:00
Mikhail Zarechenskiy
93e9d3e57d
Delay check for possibly deferred return type for reference candidate
...
This issue appeared after recently added new overload for flatMapTo.
Before that, we picked candidate returning List<T> and completed
inference, now we also check one more flatMapTo, which is here is
incorrect and as a result we go into outer scope. Outer scope contains
one property with deferred type, which introduced error about
"typechecker has run into recursive problem" even it isn't applicable
by receiver.
So, the fix is to check receiver first and only then check return
type of a candidate.
#KT-39470 Fixed
2020-06-09 17:36:58 +03:00
Konstantin Tskhovrebov
21f7cd5d8f
Add test for check expect/actual gutters at same module.
2020-06-09 16:28:28 +03:00
Konstantin Tskhovrebov
a6161c6f22
Fix expect/actual gutters for declarations in the same module.
...
Fixed #KT-33510.
2020-06-09 16:28:27 +03:00
Ilya Kirillov
3b422377d2
FIR IDE: move validation contract to analysis session base class
2020-06-09 16:20:26 +03:00
Ilya Kirillov
fb8acf8c1e
FIR IDE: add tests for call resolve
2020-06-09 16:20:26 +03:00
Ilya Kirillov
8ac0466ec2
FIR IDE: resolve constructors to correct CallInfo
2020-06-09 16:20:25 +03:00
Ilya Kirillov
87a65c0e4b
FIR IDE: throw PCE in highlighter & reference resolver if on EDT thread
...
As resolve is not allowed in EDT thread
2020-06-09 16:20:25 +03:00
Ilya Kirillov
19043537c1
FIR IDE: make API functions that returns types return non-null value
2020-06-09 16:20:24 +03:00
Ilya Kirillov
ee22d0b938
FIR IDE: introduce TypeInfo as a wrapper for types in high level API
...
Needed for correct handling types lifecycle
2020-06-09 16:20:24 +03:00
Ilya Kirillov
115327b967
FIR IDE: add validation contract to analysis session
...
This contract ensures that analysis session is used:
* in read action
* in non-EDT
* Project has not changed since the session was created
2020-06-09 16:20:23 +03:00
Ilya Kirillov
71b916ae8f
FIR IDE: rename AnalysisSessionFirImpl -> FirAnalysisSession
2020-06-09 16:20:20 +03:00
Ilya Kirillov
52a422350b
FIR IDE: always invalidate PSI -> FIR caches on any change
2020-06-09 16:20:14 +03:00
Ilya Kirillov
c3f547ec77
FIR IDE: add missing runtime dependencies
2020-06-09 16:20:13 +03:00
Ilya Kirillov
7ac48f441d
FIR IDE: remove enabled/disable FirResolution by registry
...
This separation is made based on plugins now
2020-06-09 16:20:07 +03:00
Ilya Kirillov
19d721d262
FIR IDE: mute not passing tests
2020-06-09 16:20:02 +03:00
Ilya Kirillov
d317ee1197
FIR IDE: move highlighting to fir ide module
...
As it doesn't use fir directly
2020-06-09 16:20:00 +03:00
Ilya Kirillov
a62c0e8163
FIR IDE: introduce fir lower level module
2020-06-09 16:19:58 +03:00
Ilya Kirillov
c1a62e2f05
Fix import optimizer test after reference classes rename
2020-06-09 16:19:57 +03:00
Ilya Kirillov
858b053134
FIR IDE: do not run fir tests in non FIR IDE plugin
2020-06-09 16:19:57 +03:00
Ilya Kirillov
dbfa43a60a
FIR IDE: remove unneeded dependencies of idea-fir & idea-frontend-fir modules
2020-06-09 16:19:56 +03:00
Ilya Kirillov
1b8ea31172
FIR IDE: ignore not passing highlighting tests
2020-06-09 16:19:56 +03:00
Ilya Kirillov
65b22ebfa9
FIR IDE: improve search of containing declaration for getOrBuildFir
2020-06-09 16:19:55 +03:00
Ilya Kirillov
918e4ef7d0
FIR IDE: remove checker/duplicateJvmSignature tests for FIR as duplicate signature is not implemented for fir ide yet
2020-06-09 16:19:48 +03:00
Ilya Kirillov
00a271dd94
FIR IDE: Remove IGNORE_FIR from passing tests
2020-06-09 16:19:48 +03:00
Ilya Kirillov
c6ae916b24
FIR IDE: Fix tests in idea-fir
2020-06-09 16:19:47 +03:00
Ilya Kirillov
ba7e953760
FIR IDE: Introduce plugin.xml for fir ide
2020-06-09 16:19:45 +03:00
Ilya Kirillov
72175fc40e
Fix idea.xml
2020-06-09 16:19:45 +03:00
Ilya Kirillov
bd12b37353
FIR IDE: Move ApplicationUtils to frontend independent module
2020-06-09 16:19:44 +03:00
Ilya Kirillov
a4f8c6734c
FIR IDE: Introduce ide-frontend-independent.xml extensions
2020-06-09 16:19:43 +03:00
Ilya Kirillov
66d44162e9
FIR IDE: Move common caches related stuff from plugin-common.xml to caches.xml
2020-06-09 16:19:42 +03:00
Ilya Kirillov
3ca317e0ce
FIR IDE: Split resources to three folders which is needed for FIR plugin
...
The "resources" is common for both plugins,
while resources-descriptors & resources-fir belongs
to corresponding plugins
2020-06-09 16:19:39 +03:00