Fixed unsafe

This commit is contained in:
2026-06-10 04:43:36 +02:00
parent afd3d05e2f
commit e3ef968033
5 changed files with 16 additions and 13 deletions
+1 -2
View File
@@ -4,14 +4,13 @@ use super::*;
#[derive(Debug, Clone, Serialize, Default)]
pub struct Block {
pub is_unsafe: bool,
pub statements: Vec<Spanned<Expression>>,
pub soft_return: Option<Spanned<Expression>>,
}
#[derive(Debug, Clone, Serialize)]
pub enum Statement {
UnsafeBlock(Block),
Block(Block),
If {
initial: StatementBranch,