Subject: bug#31606: closed (Re: bug#31606: Predicate instance? doesn't work for non-struct objects)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 11 Jun 2018 14:33:02 +0000

Your bug report

#31606: Predicate instance? doesn't work for non-struct objects

which was filed against the guile package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
31606: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=31606
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#31606: Predicate instance? doesn't work for non-struct objects
From: Mark H Weaver <[email-masked]>
To: Tommi Höynälänmaa <[email-masked]>
Cc: [email-masked]
Date: Mon, 11 Jun 2018 10:31:11 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

Tommi Höynälänmaa <[email-masked]> 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

Subject: Predicate instance? doesn't work for non-struct objects
From: Tommi Höynälänmaa <[email-masked]>
To: [email-masked]
Date: Sun, 27 May 2018 16:13:57 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

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