Binding trace filtering: do not calculate diagnostics if no one is going to query them
This commit is contained in:
+2
-1
@@ -99,7 +99,8 @@ abstract class LightClassDataProvider<T : WithFileStubAndExtraDiagnostics>(
|
||||
context.bindingContext,
|
||||
files.toMutableList(),
|
||||
CompilerConfiguration.EMPTY,
|
||||
generateClassFilter
|
||||
generateClassFilter,
|
||||
wantsDiagnostics = false
|
||||
)
|
||||
state.beforeCompile()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user