GNU bug report logs - #36399
< operator does not work inside function regarding goops

Previous Next

Package: guile;

Reported by: Stefan Israelsson Tampe <stefan.itampe <at> gmail.com>

Date: Wed, 26 Jun 2019 21:54:02 UTC

Severity: normal

To reply to this bug, email your comments to 36399 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guile <at> gnu.org:
bug#36399; Package guile. (Wed, 26 Jun 2019 21:54:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Israelsson Tampe <stefan.itampe <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Wed, 26 Jun 2019 21:54:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Stefan Israelsson Tampe <stefan.itampe <at> gmail.com>
To: bug-guile <at> gnu.org
Subject: < operator does not work inside function regarding goops
Date: Wed, 26 Jun 2019 23:53:10 +0200
[Message part 1 (text/plain, inline)]
For guile 2.9

Executing
  (use-modules (oop goops))
  (define-method (< (s1 <string>) (s2 <string>)) (pk 'wow) #f)
  (define (f x) (< x x))
  (f "a")

results in :

   unnamed port>:3:14: In procedure f:
   In procedure nan?: Wrong type argument in position 1: "a"
[Message part 2 (text/html, inline)]

This bug report was last modified 5 years and 353 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.