Switch executable semantics to use ErrorBuilder directly and relocate macros (#1184)

This commit is contained in:
Jon Meow
2022-04-13 09:05:21 -07:00
committed by GitHub
parent 6542506cdc
commit 87e58f5db3
37 changed files with 327 additions and 376 deletions
@@ -77,7 +77,7 @@ auto ActionStack::ValueOfNode(ValueNodeView value_node,
}
}
// TODO: Move these errors to compile time and explain them more clearly.
return FATAL_RUNTIME_ERROR(source_loc)
return RuntimeError(source_loc)
<< "could not find `" << value_node.base() << "`";
}