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