Simplify and enable by default inline/optimize/assertions
Inline, optimize, call assertions, param assertions are turned on by default now almost everywhere; invert their meaning
This commit is contained in:
+5
-4
@@ -294,14 +294,15 @@ public class KotlinJavaFileStubProvider<T extends WithFileStubAndExtraDiagnostic
|
||||
context.getModule(),
|
||||
context.getBindingContext(),
|
||||
Lists.newArrayList(files),
|
||||
/*not-null assertions*/false, false,
|
||||
/*disable not-null assertions*/false, false,
|
||||
/*generateClassFilter=*/stubGenerationStrategy.getGenerateClassFilter(),
|
||||
/*to generate inline flag on methods*/true,
|
||||
/*optimize*/true,
|
||||
/*disableInline=*/false,
|
||||
/*disableOptimization=*/false,
|
||||
null,
|
||||
null,
|
||||
forExtraDiagnostics,
|
||||
null);
|
||||
null
|
||||
);
|
||||
KotlinCodegenFacade.prepareForCompilation(state);
|
||||
|
||||
bindingContext = state.getBindingContext();
|
||||
|
||||
Reference in New Issue
Block a user