fix(basic.gblib): update ChatServices.ts #420

Closed
eltociear wants to merge 2540 commits from patch-1 into main
Showing only changes of commit 4e53537228 - Show all commits

View file

@ -502,7 +502,7 @@ export class GBVMService extends GBService {
}); });
code = code.replace(/(\w+)\s*\=\s*FILL\s(.*)\sWITH\s(.*)/gi, ($0, $1, $2, $3) => { code = code.replace(/(\w+)\s*\=\s*FILL\s(.*)\sWITH\s(.*)/gi, ($0, $1, $2, $3) => {
return `${1} = sys().fill(${$2}, ${$1})\n`; return `${1} = sys().fill(${$2}, ${$3})\n`;
}); });
code = code.replace(/save\s(.*)\sas\s(.*)/gi, ($0, $1, $2, $3) => { code = code.replace(/save\s(.*)\sas\s(.*)/gi, ($0, $1, $2, $3) => {