generate more code

This commit is contained in:
nora 2023-07-26 20:50:48 +02:00
parent ccd8008731
commit 42bc96dbce
7 changed files with 306 additions and 51 deletions

View file

@ -100,7 +100,7 @@ class Formatter {
}
}
export function writeModuleWatToString(module: Module, color = true): string {
export function writeModuleWatToString(module: Module, color = false): string {
const parts: string[] = [];
const writer = (s: string) => parts.push(s);
printModule(module, new Formatter(writer, color));