unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* bug#50608: ,trace (method ()) --> no applicable method for ...
@ 2021-09-15 19:04 Maxime Devos
  2021-09-15 19:07 ` bug#50608: Fix for ‘, trace (method ()) --> no applicable method for ...’ Maxime Devos
  0 siblings, 1 reply; 2+ messages in thread
From: Maxime Devos @ 2021-09-15 19:04 UTC (permalink / raw)
  To: 50608

[-- Attachment #1: Type: text/plain, Size: 884 bytes --]

Hi guile,

Try running the following from a repl:

(use-modules (oop goops))
(method ())
;; --> $1 = #<<method> () 7fbb1bcb47c0>
,trace (method ())
--->
[...]
trace: |  |  (_ #<<class> <method> 7fbb1bc67c80> (#:specializers () #:formals () #:body ((if #f …)) …))
trace: |  |  |  (struct-ref/unboxed #<<class> <method> 7fbb1bc67c80> 5)
trace: |  |  |  6
trace: |  |  |  (allocate-struct #<<class> <method> 7fbb1bc67c80> 6)
trace: |  |  |  While executing meta-command:
No applicable method for #<<generic> slot-missing (3)> in call (slot-missing #<<class> <boolean> 7fbb1bc67180> #f name)

The issue is that an instance of <method> is being written to
a port before it has been initialised, which various procedures in
(oop goops) don't expect.

I'll send a patch to guile-devel@gnu.org with a fix for <method>
and some other classes.

Greetings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

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

end of thread, other threads:[~2021-09-15 19:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-15 19:04 bug#50608: ,trace (method ()) --> no applicable method for Maxime Devos
2021-09-15 19:07 ` bug#50608: Fix for ‘, trace (method ()) --> no applicable method for ...’ Maxime Devos

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