@@ -934,7 +934,7 @@ WOQLQuery.prototype.plus = function (...args) {
934934 this . cursor [ '@type' ] = 'Plus' ;
935935 this . cursor . left = this . arop ( args . shift ( ) ) ;
936936 if ( args . length > 1 ) {
937- this . cursor . right = this . jobj ( new WOQLQuery ( ) . plus ( ...args ) ) ;
937+ this . cursor . right = this . jobj ( new WOQLQuery ( ) . plus ( ...args . map ( this . arop ) ) ) ;
938938 } else {
939939 this . cursor . right = this . arop ( args [ 0 ] ) ;
940940 }
@@ -954,7 +954,7 @@ WOQLQuery.prototype.minus = function (...args) {
954954 this . cursor [ '@type' ] = 'Minus' ;
955955 this . cursor . left = this . arop ( args . shift ( ) ) ;
956956 if ( args . length > 1 ) {
957- this . cursor . right = this . jobj ( new WOQLQuery ( ) . minus ( ...args ) ) ;
957+ this . cursor . right = this . jobj ( new WOQLQuery ( ) . minus ( ...args . map ( this . arop ) ) ) ;
958958 } else {
959959 this . cursor . right = this . arop ( args [ 0 ] ) ;
960960 }
@@ -973,7 +973,7 @@ WOQLQuery.prototype.times = function (...args) {
973973 this . cursor [ '@type' ] = 'Times' ;
974974 this . cursor . left = this . arop ( args . shift ( ) ) ;
975975 if ( args . length > 1 ) {
976- this . cursor . right = this . jobj ( new WOQLQuery ( ) . times ( ...args ) ) ;
976+ this . cursor . right = this . jobj ( new WOQLQuery ( ) . times ( ...args . map ( this . arop ) ) ) ;
977977 } else {
978978 this . cursor . right = this . arop ( args [ 0 ] ) ;
979979 }
@@ -991,7 +991,7 @@ WOQLQuery.prototype.divide = function (...args) {
991991 this . cursor [ '@type' ] = 'Divide' ;
992992 this . cursor . left = this . arop ( args . shift ( ) ) ;
993993 if ( args . length > 1 ) {
994- this . cursor . right = this . jobj ( new WOQLQuery ( ) . divide ( ...args ) ) ;
994+ this . cursor . right = this . jobj ( new WOQLQuery ( ) . divide ( ...args . map ( this . arop ) ) ) ;
995995 } else {
996996 this . cursor . right = this . arop ( args [ 0 ] ) ;
997997 }
@@ -1010,7 +1010,7 @@ WOQLQuery.prototype.div = function (...args) {
10101010 this . cursor [ '@type' ] = 'Div' ;
10111011 this . cursor . left = this . arop ( args . shift ( ) ) ;
10121012 if ( args . length > 1 ) {
1013- this . cursor . right = this . jobj ( new WOQLQuery ( ) . div ( ...args ) ) ;
1013+ this . cursor . right = this . jobj ( new WOQLQuery ( ) . div ( ...args . map ( this . arop ) ) ) ;
10141014 } else {
10151015 this . cursor . right = this . arop ( args [ 0 ] ) ;
10161016 }
0 commit comments