Skip to content

Commit d6c3224

Browse files
committed
more addressing PR reviews
1 parent 1d10096 commit d6c3224

File tree

4 files changed

+3
-7
lines changed

4 files changed

+3
-7
lines changed

src/slang_frontend.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1113,7 +1113,6 @@ struct StatementVisitor : public ast::ASTVisitor<StatementVisitor, true, false>
11131113
void handle(const ast::WaitStatement &stmt)
11141114
{
11151115
netlist.add_diag(diag::WaitStatementUnsupported, stmt.sourceRange);
1116-
stmt.stmt.visit(*this);
11171116
}
11181117

11191118
void handle(const ast::Statement &stmt)

tests/various/expect_test.ys

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,4 @@ module expect_test(input logic clk, input logic a, input logic b, input logic c,
99
endmodule
1010
EOF
1111

12-
design -save before
13-
design -load before
12+
test_slangdiag -expect "expect statement will not be synthesized"

tests/various/program_test.ys

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,4 @@ program tst;
2121
endprogram
2222
EOF
2323

24-
design -save before
25-
design -load before
24+
test_slangdiag -expect "program block will not be synthesized"

tests/various/wait_test.ys

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,4 @@ module wait_test(input logic clk, input logic rst, output logic q);
1414
endmodule
1515
EOF
1616

17-
design -save before
18-
design -load before
17+
test_slangdiag -expect "wait statement will not be synthesized"

0 commit comments

Comments
 (0)