|
From: | chuntaro |
Subject: | bug#34757: Invalid bytecode from byte compiler |
Date: | Tue, 5 Mar 2019 17:01:00 +0900 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Thunderbird/60.5.2 |
Invalid bytecode is output and error occurs when executed. Byte compile the following code. bug.el ---------------------------------------------------------------- ;;; -*- lexical-binding: t; -*- (let ((a 2)) (print 1) (setq a 1)) ---------------------------------------------------------------- $ emacs --batch -f batch-byte-compile bug.el bug.elc ---------------------------------------------------------------- ;ELC ... ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (funcall 2 'print 1) 1 ---------------------------------------------------------------- $ emacs --batch -l bug.elc Invalid function: 2 It occurs in versions 25.2, 26.1 and HEAD.
[Prev in Thread] | Current Thread | [Next in Thread] |