Skip to content

Commit 1c95664

Browse files
hauserxstephenamar-db
authored andcommitted
Pass broken-assertion-logic from Settings to Config (#550)
The #536 added workaround for performance issues related to assertions. Unfortunately the `--broken-assertion-logic` flag is not passed to `Settings` object used internally and is not fully effective. Improve workaround for #526
1 parent e88b0a7 commit 1c95664

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

sjsonnet/src-jvm-native/sjsonnet/SjsonnetMainBase.scala

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@ object SjsonnetMainBase {
286286
preserveOrder = config.preserveOrder.value,
287287
strict = config.strict.value,
288288
throwErrorForInvalidSets = config.throwErrorForInvalidSets.value
289+
brokenAssertionLogic = config.brokenAssertionLogic.value
289290
),
290291
storePos = (position: Position) => if (config.yamlDebug.value) currentPos = position else (),
291292
logger = warnLogger,

0 commit comments

Comments
 (0)