@@ -376,8 +376,8 @@ where
376376 DebugVerbosity :: AllScopes ,
377377 "DefLOr" ,
378378 term_arg ( ) . then ( term_arg ( ) ) . map_with_context ( |( left_arg, right_arg) , context| {
379- let left = try_with_context ! ( context, left_arg. as_bool( ) ) ;
380- let right = try_with_context ! ( context, right_arg. as_bool( ) ) ;
379+ let left = try_with_context ! ( context, left_arg. as_bool( context ) ) ;
380+ let right = try_with_context ! ( context, right_arg. as_bool( context ) ) ;
381381 ( Ok ( AmlValue :: Boolean ( left && right) ) , context)
382382 } ) ,
383383 ) )
@@ -397,8 +397,8 @@ where
397397 DebugVerbosity :: AllScopes ,
398398 "DefLOr" ,
399399 term_arg ( ) . then ( term_arg ( ) ) . map_with_context ( |( left_arg, right_arg) , context| {
400- let left = try_with_context ! ( context, left_arg. as_bool( ) ) ;
401- let right = try_with_context ! ( context, right_arg. as_bool( ) ) ;
400+ let left = try_with_context ! ( context, left_arg. as_bool( context ) ) ;
401+ let right = try_with_context ! ( context, right_arg. as_bool( context ) ) ;
402402 ( Ok ( AmlValue :: Boolean ( left || right) ) , context)
403403 } ) ,
404404 ) )
@@ -418,7 +418,7 @@ where
418418 DebugVerbosity :: AllScopes ,
419419 "DefLNot" ,
420420 term_arg ( ) . map_with_context ( |arg, context| {
421- let operand = try_with_context ! ( context, arg. as_bool( ) ) ;
421+ let operand = try_with_context ! ( context, arg. as_bool( context ) ) ;
422422 ( Ok ( AmlValue :: Boolean ( !operand) ) , context)
423423 } ) ,
424424 ) )
0 commit comments