mirror of
https://github.com/Noratrieb/riverdelta.git
synced 2026-01-15 00:45:04 +01:00
extract and test inference context
This commit is contained in:
parent
39a995b765
commit
84cd8eec90
3 changed files with 176 additions and 133 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue