File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ pub enum MinusOneErrorKind {
77 InvalidParent ,
88 InvalidProgram ,
99 InvalidProgramIndex ,
10- NestedTranscations ,
10+ NestedTransactions ,
1111 Unknown ,
1212}
1313
@@ -88,7 +88,7 @@ impl Error {
8888
8989 pub fn nested_transactions ( ) -> Self {
9090 Error :: MinusOneError ( MinusOneError :: new (
91- MinusOneErrorKind :: NestedTranscations ,
91+ MinusOneErrorKind :: NestedTransactions ,
9292 "Cannot start transaction: transaction already started" ,
9393 ) )
9494 }
Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ impl<'a> RuleMut<'a> for Cast {
134134 ( Some ( Type ( t) ) , Some ( Raw ( Bool ( v) ) ) ) => if t == "bool" {
135135 node. set ( Raw ( Bool ( * v) ) ) ;
136136 } ,
137- ( Some ( Type ( t) ) , Some ( Powershell :: DeadCode ) ) => if t == "bool" {
137+ ( Some ( Type ( t) ) , Some ( Powershell :: Null ) ) => if t == "bool" {
138138 node. set ( Raw ( Bool ( false ) ) ) ;
139139 } ,
140140 ( Some ( Type ( t) ) , Some ( Powershell :: HashMap ( _) ) ) => if t == "bool" {
You can’t perform that action at this time.
0 commit comments