name resolution

This commit is contained in:
nora 2023-07-23 17:32:34 +02:00
parent cc2a9aeca8
commit 35f1c92e36
6 changed files with 449 additions and 60 deletions

View file

@ -76,6 +76,6 @@ export function lines(input: string): Span[] {
return lines;
}
export function todo(msg: string, span: Span): never {
throw new CompilerError(`TODO: ${msg}`, span);
export function todo(msg: string): never {
throw new CompilerError(`TODO: ${msg}`, { start: 0, end: 0 });
}