Skip to content

Commit

Permalink
Pass Project to CliBindingTrace
Browse files Browse the repository at this point in the history
  • Loading branch information
3flex committed Mar 20, 2024
1 parent 2d629a9 commit 45e4959
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ internal fun generateBindingContext(
TopDownAnalyzerFacadeForJVM.analyzeFilesWithJavaIntegration(
environment.project,
files,
NoScopeRecordCliBindingTrace(),
NoScopeRecordCliBindingTrace(environment.project),
environment.configuration,
environment::createPackagePartProvider,
::FileBasedDeclarationProviderFactory
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ fun KotlinCoreEnvironment.getContextForPaths(paths: List<KtFile>): BindingContex
TopDownAnalyzerFacadeForJVM.analyzeFilesWithJavaIntegration(
this.project,
paths,
NoScopeRecordCliBindingTrace(),
NoScopeRecordCliBindingTrace(this.project),
this.configuration,
this::createPackagePartProvider,
::FileBasedDeclarationProviderFactory
Expand Down

0 comments on commit 45e4959

Please sign in to comment.