It seems to get confused by anonymous functions, which are abundant in promises code. See the changelog and diff here: https://bugs.webkit.org/attachment.cgi?id=227234&action=review