@@ -376,8 +376,8 @@ where
376
376
DebugVerbosity :: AllScopes ,
377
377
"DefLOr" ,
378
378
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 ) ) ;
381
381
( Ok ( AmlValue :: Boolean ( left && right) ) , context)
382
382
} ) ,
383
383
) )
@@ -397,8 +397,8 @@ where
397
397
DebugVerbosity :: AllScopes ,
398
398
"DefLOr" ,
399
399
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 ) ) ;
402
402
( Ok ( AmlValue :: Boolean ( left || right) ) , context)
403
403
} ) ,
404
404
) )
@@ -418,7 +418,7 @@ where
418
418
DebugVerbosity :: AllScopes ,
419
419
"DefLNot" ,
420
420
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 ) ) ;
422
422
( Ok ( AmlValue :: Boolean ( !operand) ) , context)
423
423
} ) ,
424
424
) )
0 commit comments