Heap fill/compare; Std string experiments

This commit is contained in:
dcodeIO
2017-12-21 10:14:53 +01:00
parent dd5c3e7a4e
commit 666ba54e42
17 changed files with 5108 additions and 222 deletions

View File

@ -93,9 +93,8 @@ function checkDiagnostics(parser) {
if (!args.noLib) {
var stdlibDir = path.join(__dirname + "..", "std", "assembly");
glob.sync("*.ts", { cwd: stdlibDir }).forEach(file => {
var nextPath = "std/" + file;
var nextText = fs.readFileSync(path.join(stdlibDir, file), { encoding: "utf8" });
parser = assemblyscript.parseFile(nextText, nextPath, parser, false);
parser = assemblyscript.parseFile(nextText, "std:" + file, parser, false);
});
}