Minor cleanup

This commit is contained in:
dcodeIO
2018-03-31 18:18:55 +02:00
parent 3d1f181961
commit 6ff69394f0
10 changed files with 65 additions and 40 deletions

View File

@ -1,7 +1,15 @@
const asc = require("../dist/asc.js");
const stdout = asc.createMemoryStream();
const stderr = asc.createMemoryStream();
function log(arg) {
console.log(arg);
}
const stdout = asc.createMemoryStream(arg => {
console.log("out:", arg);
});
const stderr = asc.createMemoryStream(arg => {
console.log("err:", arg);
});
const files = {
"/module.ts": `import "allocator/arena";`