Make the comma after assert warn/fail/fatal optional (#2160)

Co-authored-by: Eldred Habert <[email protected]>
This commit is contained in:
RangiandEldred Habert authored and GitHub committed 2026-09-26 19:55:35 +02:00
1 parent e8422c1c88
commit f1e530ac39
5 files changed
+101 -7

No files matched your search

+21
View File
@@ -0,0 +1,21 @@
[static_]assert $0
[static_]assert $1
[static_]assert $0 , "hello 2"
[static_]assert $1 , "hello 2"
[static_]assert warn $0
[static_]assert warn $1
[static_]assert warn $0 , "hello 6"
[static_]assert warn $1 , "hello 6"
[static_]assert fail $0
[static_]assert fail $1
[static_]assert fail $0 , "hello 10"
[static_]assert fail $1 , "hello 10"
[static_]assert warn, $0
[static_]assert warn, $1
[static_]assert warn, $0 , "hello 14"
[static_]assert warn, $1 , "hello 14"
[static_]assert fail, $0
[static_]assert fail, $1
[static_]assert fail, $0 , "hello 18"
[static_]assert fail, $1 , "hello 18"
[static_]assert fatal...