extract and test inference context

This commit is contained in:
nora 2023-07-27 22:10:21 +02:00
parent 39a995b765
commit 84cd8eec90
3 changed files with 176 additions and 133 deletions

View file

@ -10,6 +10,8 @@ export function spanMerge(a: Span, b: Span): Span {
};
}
export const DUMMY_SPAN = { start: 0, end: 0 };
export class CompilerError extends Error {
msg: string;
span: Span;