This commit is contained in:
nora 2021-12-30 18:09:11 +01:00
parent e66cd52861
commit 9eff0f0188
7 changed files with 31 additions and 13 deletions

View file

@ -1,5 +1,10 @@
//!
//! This modules handles error reporting in the interpreter
//!
//! The `span` submodule handles Spans, which are used for tracking locations in the source code.
//!
//! There is a single type `CompilerError` that can be created from anywhere, and reported using
//! functions from here.
use std::fmt::Debug;