|
From: | Philipp Stephani |
Subject: | bug#31072: 27.0.50; Assertion failure in defvar |
Date: | Fri, 06 Apr 2018 15:57:40 +0000 |
Loading the following file triggers an assertion failure:
;;; -*- lexical-binding: t; -*-
(defvar 1)
$ emacs -Q -batch -l /tmp/crash.el
eval.c:772: Emacs fatal error: assertion failed: SYMBOLP (sym)
Fatal error 6: Abort trapAbort trap: 6
This is because Fdefvar lacks a CHECK_SYMBOL in the second branch
(lexical binding but only one argument)
0001-Avoid-undefined-behavior-in-defvar-Bug-31072.txt
Description: Text document
[Prev in Thread] | Current Thread | [Next in Thread] |