Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Intellij Community
Commits
6ef318b2
Commit
6ef318b2
authored
2 years ago
by
Jinseong Jeon
Browse files
Options
Download
Email Patches
Plain Diff
AA: look up built-ins module before general library modules
parent
7d718b75
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
plugins/kotlin/base/analysis-api-providers/src/org/jetbrains/kotlin/idea/base/analysisApiProviders/KotlinModuleStateTrackerProvider.kt
+1
-1
.../analysisApiProviders/KotlinModuleStateTrackerProvider.kt
with
1 addition
and
1 deletion
+1
-1
plugins/kotlin/base/analysis-api-providers/src/org/jetbrains/kotlin/idea/base/analysisApiProviders/KotlinModuleStateTrackerProvider.kt
+
1
-
1
View file @
6ef318b2
...
@@ -41,6 +41,7 @@ class KotlinModuleStateTrackerProvider(project: Project) : Disposable {
...
@@ -41,6 +41,7 @@ class KotlinModuleStateTrackerProvider(project: Project) : Disposable {
fun
getModuleStateTrackerFor
(
module
:
KtModule
):
KtModuleStateTracker
{
fun
getModuleStateTrackerFor
(
module
:
KtModule
):
KtModuleStateTracker
{
return
when
(
module
)
{
return
when
(
module
)
{
is
KtBuiltinsModule
->
ModuleStateTrackerImpl
()
is
KtLibraryModule
->
{
is
KtLibraryModule
->
{
val
libraryInfo
=
module
.
moduleInfo
as
LibraryInfo
val
libraryInfo
=
module
.
moduleInfo
as
LibraryInfo
libraryInfo
.
checkValidity
()
libraryInfo
.
checkValidity
()
...
@@ -62,7 +63,6 @@ class KotlinModuleStateTrackerProvider(project: Project) : Disposable {
...
@@ -62,7 +63,6 @@ class KotlinModuleStateTrackerProvider(project: Project) : Disposable {
is
KtLibrarySourceModule
->
getModuleStateTrackerFor
(
module
.
binaryLibrary
)
is
KtLibrarySourceModule
->
getModuleStateTrackerFor
(
module
.
binaryLibrary
)
is
KtNotUnderContentRootModule
->
ModuleStateTrackerImpl
()
// TODO need proper cache?
is
KtNotUnderContentRootModule
->
ModuleStateTrackerImpl
()
// TODO need proper cache?
is
KtBuiltinsModule
->
ModuleStateTrackerImpl
()
}
}
}
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment