GNU bug report logs - #30425
27.0.50; Return value of `pcase' not specified if no patterns match

Previous Next

Package: emacs;

Reported by: Philipp <p.stephani2 <at> gmail.com>

Date: Sun, 11 Feb 2018 20:57:02 UTC

Severity: minor

Tags: fixed

Found in version 27.0.50

Fixed in version 26.1

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #10 received at control <at> debbugs.gnu.org (full text, mbox):

From: Noam Postavsky <npostavs <at> gmail.com>
To: Philipp <p.stephani2 <at> gmail.com>
Cc: 30425 <at> debbugs.gnu.org
Subject: Re: bug#30425: 27.0.50;
 Return value of `pcase' not specified if no patterns match
Date: Sat, 31 Mar 2018 01:03:04 -0400
tags 30425 fixed
close 30425 26.1
quit

Philipp <p.stephani2 <at> gmail.com> writes:

> Neither the manual nor the docstring of `pcase' specify what happens if
> no patterns match.  Probably the intention and actual behavior is that
> it returns nil in that case, but that should be documented in the manual
> and the docstring.

Done in emacs-26.

[1: e50196e8a9]: 2018-03-31 00:50:37 -0400
  Document return value of pcase (Bug#30425)
  https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=e50196e8a96216f1fd69f9257cddd8d76ad2ac78




This bug report was last modified 7 years and 138 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.