yeslogic / fathom

🚧 (Alpha stage software) A declarative data definition language for formally specifying binary data formats. 🚧

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simplify diagnostics in the core type checker

brendanzab opened this issue · comments

I think it would be fine to simplify reporting::CoreTypingMessage in order to reduce the friction involved in adding new features. Seeing as it is not user-facing I think it would be fine to simplify it to something like:

struct CoreTypingMessage {
    file_id: usize,
    range: Range<usize>,
    message: String,
}

As of #296, the core type checker has been removed (for now).