unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#31606: Predicate instance? doesn't work for non-struct objects
@ 2018-05-27 13:13 Tommi Höynälänmaa
  2018-06-11 14:31 ` Mark H Weaver
  0 siblings, 1 reply; 2+ messages in thread
From: Tommi Höynälänmaa @ 2018-05-27 13:13 UTC (permalink / raw)
  To: 31606


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






^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#31606: Predicate instance? doesn't work for non-struct objects
  2018-05-27 13:13 bug#31606: Predicate instance? doesn't work for non-struct objects Tommi Höynälänmaa
@ 2018-06-11 14:31 ` Mark H Weaver
  0 siblings, 0 replies; 2+ messages in thread
From: Mark H Weaver @ 2018-06-11 14:31 UTC (permalink / raw)
  To: Tommi Höynälänmaa; +Cc: 31606-done

Hi,

Tommi Höynälänmaa <tommi.hoynalanmaa@gmail.com> writes:
> Predicate instance? in Guile 2.2.3 doesn't work for non-struct objects.

Fixed in commit ff2adb04cb4be9309abeb3feeee7cad97976fc2d on the
stable-2.2 branch.  This fix will be in guile-2.2.4.
I'm closing this bug now.  Thanks for the report!

      Mark





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-06-11 14:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-27 13:13 bug#31606: Predicate instance? doesn't work for non-struct objects Tommi Höynälänmaa
2018-06-11 14:31 ` Mark H Weaver

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).