unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Sho Takemori <stakemorii@gmail.com>
To: 23528@debbugs.gnu.org
Subject: bug#23528: 25.0.93; Errors are ignored if I load eieio and evaluate the byte-compiled form
Date: Fri, 13 May 2016 22:50:04 +0900	[thread overview]
Message-ID: <CAHbQ=cV7VwjoJK5DTM4gSV6NsScmv8o2ROpYarHRd1qhK5sqYA@mail.gmail.com> (raw)
In-Reply-To: <CAHbQ=cVSJGDoAP8r=Rb=8+yUWBZg=KdndH-Ttur_V0K2AEkF+A@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1111 bytes --]

I narrow down the problem.

If I load the following code which is taken from eieio-core.el, line 84, (I
added (require 'cl-lib))
then (progn (byte-compile 'my-this-should-raise-error)
(my-this-should-raise-error))
does not raise an error.

(progn
(require 'cl-lib)
;; Arrange for field access not to bother checking if the access is indeed
;; made to an eieio--class object.
(cl-declaim (optimize (safety 0)))

(cl-defstruct (eieio--class
(:constructor nil)
(:constructor eieio--class-make (name))
(:include cl--class)
(:copier nil))
children
initarg-tuples ;; initarg tuples list
(class-slots nil :type eieio--slot)
class-allocation-values ;; class allocated value vector
default-object-cache ;; what a newly created object would look like.
; This will speed up instantiation time as
; only a `copy-sequence' will be needed, instead of
; looping over all the values and setting them from
; the default.
options ;; storage location of tagged class option
; Stored outright without modifications or stripping
)
;; Set it back to the default value.
(cl-declaim (optimize (safety 1))))

Best regards,
Sho Takemori

[-- Attachment #2: Type: text/html, Size: 1283 bytes --]

  reply	other threads:[~2016-05-13 13:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-13 11:45 bug#23528: Subject: 25.0.93; Errors are ignored if I load eieio and evaluate the byte-compiled form Sho Takemori
2016-05-13 13:50 ` Sho Takemori [this message]
2016-05-13 15:31   ` bug#23528: " Michael Heerdegen
2016-05-15  6:37     ` Sho Takemori
2016-05-15 14:06       ` Michael Heerdegen
2018-02-10  3:09 ` bug#23528: Subject: " Noam Postavsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAHbQ=cV7VwjoJK5DTM4gSV6NsScmv8o2ROpYarHRd1qhK5sqYA@mail.gmail.com' \
    --to=stakemorii@gmail.com \
    --cc=23528@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).