[Native] Enable linkViaSignatures for K2/Native compiler
Setting `linkViaSignatures = false` leads to the situation when fir2ir provides no guarantees about how SymbolTable is filled, so if some backend relies on symbol table content (JS and Native does) then it's required to set this flag to `true` The issue was uncovered by previous commits because previously fir2ir created symbols with signatures for some declarations even with disabled flag, which was fixed by those commits
This commit is contained in:
committed by
Space Team
parent
740dcfe3c5
commit
b4d29aa583
+1
-1
@@ -96,7 +96,7 @@ internal fun PhaseContext.fir2Ir(
|
||||
val fir2IrConfiguration = Fir2IrConfiguration(
|
||||
languageVersionSettings = configuration.languageVersionSettings,
|
||||
diagnosticReporter = diagnosticsReporter,
|
||||
linkViaSignatures = false,
|
||||
linkViaSignatures = true,
|
||||
evaluatedConstTracker = configuration
|
||||
.putIfAbsent(CommonConfigurationKeys.EVALUATED_CONST_TRACKER, EvaluatedConstTracker.create()),
|
||||
inlineConstTracker = null,
|
||||
|
||||
Reference in New Issue
Block a user