зеркало из https://github.com/mozilla/pjs.git
Adding a comment on the use of assert()
This commit is contained in:
Родитель
faf16d7cba
Коммит
0c4ffdbd75
|
@ -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) = @_;
|
||||
|
|
Загрузка…
Ссылка в новой задаче