@@ -756,15 +756,15 @@ ____exports.__result = a
756756return ____exports"
757757`;
758758
759- exports[`Unsupported bitop 5.3 ("a>>=b"): diagnostics 1`] = `"main.ts(1,25): error TSTL: Right shift operator is not supported for target Lua 5.3. Use \`>>>\` instead ."`;
759+ exports[`Unsupported bitop 5.3 ("a>>=b"): diagnostics 1`] = `"main.ts(1,25): error TSTL: Signed right shift \`>>\` is not supported on Lua 5.3+: Lua's native \`>>\` is logical (zero-fill) on 64-bit integers, with no built-in arithmetic shift . Use \`>>>\` if you don't need sign extension, or write your own helper ."`;
760760
761761exports[`Unsupported bitop 5.3 ("a>>b"): code 1`] = `
762762" local ____exports = {}
763763____exports.__result = a >> b
764764return ____exports"
765765`;
766766
767- exports[`Unsupported bitop 5.3 ("a>>b"): diagnostics 1`] = `"main.ts(1,25): error TSTL: Right shift operator is not supported for target Lua 5.3. Use \`>>>\` instead ."`;
767+ exports[`Unsupported bitop 5.3 ("a>>b"): diagnostics 1`] = `"main.ts(1,25): error TSTL: Signed right shift \`>>\` is not supported on Lua 5.3+: Lua's native \`>>\` is logical (zero-fill) on 64-bit integers, with no built-in arithmetic shift . Use \`>>>\` if you don't need sign extension, or write your own helper ."`;
768768
769769exports[`Unsupported bitop 5.4 ("a>>=b"): code 1`] = `
770770" local ____exports = {}
@@ -773,12 +773,12 @@ ____exports.__result = a
773773return ____exports"
774774`;
775775
776- exports[`Unsupported bitop 5.4 ("a>>=b"): diagnostics 1`] = `"main.ts(1,25): error TSTL: Right shift operator is not supported for target Lua 5.3. Use \`>>>\` instead ."`;
776+ exports[`Unsupported bitop 5.4 ("a>>=b"): diagnostics 1`] = `"main.ts(1,25): error TSTL: Signed right shift \`>>\` is not supported on Lua 5.3+: Lua's native \`>>\` is logical (zero-fill) on 64-bit integers, with no built-in arithmetic shift . Use \`>>>\` if you don't need sign extension, or write your own helper ."`;
777777
778778exports[`Unsupported bitop 5.4 ("a>>b"): code 1`] = `
779779" local ____exports = {}
780780____exports.__result = a >> b
781781return ____exports"
782782`;
783783
784- exports[`Unsupported bitop 5.4 ("a>>b"): diagnostics 1`] = `"main.ts(1,25): error TSTL: Right shift operator is not supported for target Lua 5.3. Use \`>>>\` instead ."`;
784+ exports[`Unsupported bitop 5.4 ("a>>b"): diagnostics 1`] = `"main.ts(1,25): error TSTL: Signed right shift \`>>\` is not supported on Lua 5.3+: Lua's native \`>>\` is logical (zero-fill) on 64-bit integers, with no built-in arithmetic shift . Use \`>>>\` if you don't need sign extension, or write your own helper ."`;
0 commit comments