pub fn type_error() -> Self {
        SemanticError {
            kind: ErrorKind::TypeError,
            context: vec![],
        }
    }
/// Create a new error with kind `TypeError`
Create a new error with kind `TypeError`
Create a new error with kind ` TypeError `
pub fn type_error() -> Self {
        SemanticError {
            kind: ErrorKind::TypeError,
            context: vec![],
        }
    }
pub fn type_error ( ) -> Self { SemanticError { kind : ErrorKind :: TypeError , context : vec ! [ ] , } }
Create a new error with kind `TypeError`
Create a new error with kind ` TypeError `