unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: "Tommi Höynälänmaa" <tommi.hoynalanmaa@gmail.com>
To: 31606@debbugs.gnu.org
Subject: bug#31606: Predicate instance? doesn't work for non-struct objects
Date: Sun, 27 May 2018 16:13:57 +0300	[thread overview]
Message-ID: <6afd919f-d770-5b4b-a54e-07b155a3a6bf@gmail.com> (raw)


Predicate instance? in Guile 2.2.3 doesn't work for non-struct objects.

In order to reproduce the bug give the following commands in Guile:
---cut here---
(import (oop goops))
(instance? 1)
---cut here---

The actual output is:
---cut here---
<unnamed port>:2:0: In procedure struct_vtable: Wrong type argument in 
position 1 (expecting struct): 1

Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
---cut here---

I use Guile on Ubuntu 18.04.

      - Tommi Höynälänmaa






             reply	other threads:[~2018-05-27 13:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-27 13:13 Tommi Höynälänmaa [this message]
2018-06-11 14:31 ` bug#31606: Predicate instance? doesn't work for non-struct objects Mark H Weaver

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/guile/

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

  git send-email \
    --in-reply-to=6afd919f-d770-5b4b-a54e-07b155a3a6bf@gmail.com \
    --to=tommi.hoynalanmaa@gmail.com \
    --cc=31606@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.
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).