To add, I am using emacs build from the master branch as of today.

Doing M-x byte-compile-file on org-capture.el gives:

-----
Compiling file /home/kmodi/.emacs.d/elisp/org-mode/lisp/org-capture.el at Mon Apr 17 10:48:22 2017
org-capture.el:1586:1:Error: Unknown pattern ‘nil’
-----


On Mon, Apr 17, 2017 at 10:11 AM Kaushal Modi <kaushal.modi@gmail.com> wrote:
I am on master branch: ea3754f.

A recent change in org-capture.el breaks compilation:
--

Kaushal Modi