diff --git a/src/__tests__/__snapshots__/compilesb3.test.ts.snap b/src/__tests__/__snapshots__/compilesb3.test.ts.snap index bdc51cb6..6c11b357 100644 --- a/src/__tests__/__snapshots__/compilesb3.test.ts.snap +++ b/src/__tests__/__snapshots__/compilesb3.test.ts.snap @@ -228,7 +228,7 @@ export default class Stage extends StageBase { yield* this.askAndWait( this.compare("", 50) < 0 && this.compare("", 50) > 0 ); - yield* this.askAndWait(0 === 50 || 0); + yield* this.askAndWait(0 === 50 || null); yield* this.askAndWait(!null); yield* this.askAndWait("apple " + this.letterOf("apple", 0)); yield* this.askAndWait("apple".length); @@ -333,7 +333,7 @@ exports[`sb3 -> sb3 1`] = ` 1, [ 6, - 1, + "1", ], ], "STRING": [ @@ -369,7 +369,7 @@ exports[`sb3 -> sb3 1`] = ` 1, [ 4, - 2, + "2", ], ], }, @@ -418,7 +418,7 @@ exports[`sb3 -> sb3 1`] = ` 1, [ 4, - 100, + "100", ], ], }, @@ -435,7 +435,7 @@ exports[`sb3 -> sb3 1`] = ` 1, [ 4, - -10, + "-10", ], ], }, @@ -548,7 +548,7 @@ exports[`sb3 -> sb3 1`] = ` 1, [ 5, - 1, + "1", ], ], }, @@ -615,7 +615,7 @@ exports[`sb3 -> sb3 1`] = ` 1, [ 4, - 15, + "15", ], ], }, @@ -646,7 +646,7 @@ exports[`sb3 -> sb3 1`] = ` 1, [ 4, - 10, + "10", ], ], }, @@ -663,14 +663,14 @@ exports[`sb3 -> sb3 1`] = ` 1, [ 4, - 12, + "12", ], ], "NUM2": [ 1, [ 4, - 7, + "7", ], ], }, @@ -692,7 +692,7 @@ exports[`sb3 -> sb3 1`] = ` 1, [ 4, - 1, + "1", ], ], }, @@ -780,7 +780,7 @@ exports[`sb3 -> sb3 1`] = ` "$2pjc0Y=y?zcf/XRxnq~", [ 4, - 10, + "10", ], ], }, @@ -821,7 +821,7 @@ exports[`sb3 -> sb3 1`] = ` "q*c_$*,LcQ.k:v|51a2p", [ 4, - 0, + "0", ], ], }, @@ -912,7 +912,7 @@ exports[`sb3 -> sb3 1`] = ` 1, [ 7, - 1, + "1", ], ], }, @@ -996,14 +996,14 @@ exports[`sb3 -> sb3 1`] = ` 1, [ 4, - 0, + "0", ], ], "NUM2": [ 1, [ 4, - 0, + "0", ], ], }, @@ -1080,14 +1080,14 @@ exports[`sb3 -> sb3 1`] = ` 1, [ 4, - 0, + "0", ], ], "NUM2": [ 1, [ 4, - 0, + "0", ], ], }, @@ -1142,7 +1142,7 @@ exports[`sb3 -> sb3 1`] = ` "Ou[*d6iTD=EQ6i!4-u9(", [ 4, - 0, + "0", ], ], }, @@ -1254,7 +1254,7 @@ exports[`sb3 -> sb3 1`] = ` 1, [ 4, - 5, + "5", ], ], "NUM2": [ @@ -1280,14 +1280,14 @@ exports[`sb3 -> sb3 1`] = ` "bBQ:OYjqH11.^J1;$TtA", [ 4, - 1, + "1", ], ], "TO": [ 1, [ 4, - 10, + "10", ], ], }, @@ -1346,7 +1346,7 @@ exports[`sb3 -> sb3 1`] = ` "R{!AGMnT!a+S6Mkbzg5c", [ 7, - 1, + "1", ], ], "ITEM": [ @@ -1421,7 +1421,7 @@ exports[`sb3 -> sb3 1`] = ` 1, [ 4, - 0, + "0", ], ], }, @@ -1443,7 +1443,7 @@ exports[`sb3 -> sb3 1`] = ` 1, [ 7, - 1, + "1", ], ], }, @@ -1623,7 +1623,7 @@ exports[`sb3 -> sb3 1`] = ` 1, [ 6, - 10, + "10", ], ], }, @@ -1791,7 +1791,7 @@ exports[`sb3 -> sb3 1`] = ` ], [ 4, - 1, + "1", ], ], }, @@ -1851,14 +1851,14 @@ exports[`sb3 -> sb3 1`] = ` 1, [ 4, - 8, + "8", ], ], "NUM2": [ 1, [ 4, - 4, + "4", ], ], }, @@ -1875,14 +1875,14 @@ exports[`sb3 -> sb3 1`] = ` 1, [ 4, - 0, + "0", ], ], "NUM2": [ 1, [ 4, - 0, + "0", ], ], }, @@ -2153,7 +2153,7 @@ exports[`sb3 -> sb3 1`] = ` "XF~V!oKRTrLZ3GcYSKCD", [ 4, - 25, + "25", ], ], }, @@ -2225,7 +2225,7 @@ exports[`sb3 -> sb3 1`] = ` "?Ms$z}YO=-WhGr[\${ckY", [ 7, - 1, + "1", ], ], "ITEM": [ @@ -2472,7 +2472,7 @@ exports[`sb3 -> sb3 1`] = ` 1, [ 4, - 10, + "10", ], ], }, @@ -2617,7 +2617,7 @@ exports[`sb3 -> sb3 1`] = ` "L(ob68#w%p+*LI:e@j-B", [ 4, - 10, + "10", ], ], }, @@ -2663,7 +2663,7 @@ exports[`sb3 -> sb3 1`] = ` 1, [ 4, - 1, + "1", ], ], "TO": [ @@ -2782,7 +2782,7 @@ exports[`sb3 -> sb3 1`] = ` 1, [ 4, - -23, + "-23", ], ], }, @@ -2799,7 +2799,7 @@ exports[`sb3 -> sb3 1`] = ` 1, [ 4, - 15, + "15", ], ], }, @@ -2896,7 +2896,7 @@ exports[`sb3 -> sb3 1`] = ` 1, [ 4, - 10, + "10", ], ], }, @@ -2937,14 +2937,14 @@ exports[`sb3 -> sb3 1`] = ` "~r*uX?#GQ6Ebl97}am/M", [ 4, - 0, + "0", ], ], "Y": [ 1, [ 4, - -23, + "-23", ], ], }, @@ -2961,7 +2961,7 @@ exports[`sb3 -> sb3 1`] = ` 1, [ 4, - -36, + "-36", ], ], }, @@ -2978,14 +2978,14 @@ exports[`sb3 -> sb3 1`] = ` 1, [ 4, - 1, + "1", ], ], "X": [ 1, [ 4, - -36, + "-36", ], ], "Y": [ @@ -2993,7 +2993,7 @@ exports[`sb3 -> sb3 1`] = ` ".J)b5R?iS]c$4G).b][e", [ 4, - 0, + "0", ], ], }, @@ -3020,7 +3020,7 @@ exports[`sb3 -> sb3 1`] = ` "F0B-ZTgsD(ogbxB/YC9j", [ 4, - 15, + "15", ], ], }, @@ -3046,7 +3046,7 @@ exports[`sb3 -> sb3 1`] = ` 1, [ 8, - 90, + "90", ], ], }, @@ -3079,7 +3079,7 @@ exports[`sb3 -> sb3 1`] = ` 1, [ 4, - 10, + "10", ], ], }, @@ -3276,7 +3276,7 @@ ask ((0) - (0)) and wait ask ((0) * (0)) and wait ask ((0) / (0)) and wait ask <<[] < [50]> and <[] > [50]>> and wait -ask <<[] = [50]> or []> and wait +ask <<[] = [50]> or <>> and wait ask > and wait ask (join [apple ] (letter (1) of [apple])) and wait ask (length of [apple]) and wait