remove console.log

This commit is contained in:
nora 2023-07-26 21:36:27 +02:00
parent 1d0e3a3aff
commit f6f6673721

View file

@ -403,8 +403,6 @@ function todo(msg: string): never {
function addRt(cx: Context, ast: Ast) {
const { mod } = cx;
console.log(cx.funcIndices);
const main = cx.funcIndices.get(ast.typeckResults!.main);
if (main === undefined) {
throw new Error(`main function (${main}) was not compiled.`);