Add concurrent assertions, sequence and property as verbatim items
assert/assume/cover/restrict property (...) [action block], optionally labeled, at item and statement position; sequence...endsequence and property...endproperty declarations. Verbatim pass-through like constraint/covergroup; verify.rs untouched, attack tests added. Coverage loop round 1, cluster 4: 699 -> 712 / 820 (85.2% -> 86.8%). Feature README: docs/features/assertions/README.md Co-Authored-By: Claude Fable 5 <[email protected]>
This commit is contained in:
1 parent
f7c66c79bf
commit
e24d33afab
9 files changed
+938
-7
No files matched your search
@@ -760,7 +760,9 @@ fn check_stmt(src: &str, stmt: &Stmt, parent: TextRange) {
|
||||
StmtKind::ParamDecl(p) => check_declarators(src, &p.declarators, here),
|
||||
StmtKind::PortDecl(p) => check_declarators(src, &p.declarators, here),
|
||||
StmtKind::Return(e) => check_opt_expr(src, e.as_ref(), here),
|
||||
StmtKind::Directive(raw) | StmtKind::MacroStmt(MacroCall { raw, .. }) => {
|
||||
StmtKind::Directive(raw)
|
||||
| StmtKind::Verbatim(raw)
|
||||
| StmtKind::MacroStmt(MacroCall { raw, .. }) => {
|
||||
assert_inside(src, "raw text", raw.span, here);
|
||||
}
|
||||
StmtKind::Assert { cond, then, els, .. } => {
|
||||
|
||||
Reference in new issue
Block a user