Skip to content

Commit

Permalink
Mark built-in .randomize() calls as impure
Browse files Browse the repository at this point in the history
  • Loading branch information
kiryk committed Nov 15, 2023
1 parent 20285b0 commit 7b718bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/V3AstNodes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2466,6 +2466,7 @@ void AstCMethodHard::setPurity() {
{"r_product", true},
{"r_sum", true},
{"r_xor", true},
{"randomize", false},
{"renew", false},
{"renew_copy", false},
{"resume", false},
Expand Down

0 comments on commit 7b718bd

Please sign in to comment.