mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
Adding a comment on the use of assert()
This commit is contained in:
parent
8e6f8e1cef
commit
3ae1b10178
@ -225,6 +225,7 @@ sub error {
|
||||
confess(@data); # die with stack trace
|
||||
}
|
||||
|
||||
# this should not be called with the @data containing a trailing dot
|
||||
sub assert {
|
||||
my $self = shift;
|
||||
my($condition, $level, @data) = @_;
|
||||
|
Loading…
Reference in New Issue
Block a user