Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Convert TypecheckError::Unsafe and TypecheckError::UnsafeFn to errors #6937

Open
TomAFrench opened this issue Jan 3, 2025 · 0 comments · May be fixed by #6938
Open

Convert TypecheckError::Unsafe and TypecheckError::UnsafeFn to errors #6937

TomAFrench opened this issue Jan 3, 2025 · 0 comments · May be fixed by #6938

Comments

@TomAFrench
Copy link
Member

TypeCheckError::Unsafe { span } => {
Diagnostic::simple_warning(error.to_string(), String::new(), *span)
}
TypeCheckError::UnsafeFn { span } => {
Diagnostic::simple_warning(error.to_string(), String::new(), *span)
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
1 participant