Skip to content

Commit e88b0a7

Browse files
Set deprecatedSkipAsserts to Object Comprehension members & bump to 0.5.9 (#547)
1 parent 5c3efb5 commit e88b0a7

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## 0.5.9
2+
* Add more cases to handle properly when --broken-assertion-logic is set
3+
14
## 0.5.8
25
* Add more cases to handle properly when --broken-assertion-logic is set
36

sjsonnet/src/sjsonnet/Evaluator.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@ class Evaluator(
770770
case Val.Str(_, k) =>
771771
val previousValue = builder.put(
772772
k,
773-
new Val.Obj.Member(e.plus, Visibility.Normal) {
773+
new Val.Obj.Member(e.plus, Visibility.Normal, deprecatedSkipAsserts = true) {
774774
def invoke(self: Val.Obj, sup: Val.Obj, fs: FileScope, ev: EvalScope): Val = {
775775
// There is a circular dependency between `newScope` and `newBindings` because
776776
// bindings may refer to other bindings (e.g. chains of locals that build on

sjsonnet/version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.5.8
1+
0.5.9

0 commit comments

Comments
 (0)