diagnostics

This commit is contained in:
Aleksey Kladov 2019-03-21 22:13:11 +03:00
parent 4132fbf3a0
commit 7e8f17188e
6 changed files with 74 additions and 6 deletions

View file

@ -0,0 +1,6 @@
use crate::{expr::ExprId};
#[derive(Clone, Debug, PartialEq, Eq)]
pub enum FunctionDiagnostic {
NoSuchField { expr: ExprId, field: usize },
}