bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#36399: < operator does not work inside function regarding goops


From: Stefan Israelsson Tampe
Subject: bug#36399: < operator does not work inside function regarding goops
Date: Wed, 26 Jun 2019 23:53:10 +0200

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"


reply via email to

[Prev in Thread] Current Thread [Next in Thread]