Skip to content
This repository has been archived by the owner on Oct 10, 2021. It is now read-only.

record protocol function returning void crashes ikarus #269

Open
hyln9 opened this issue Sep 12, 2014 · 1 comment
Open

record protocol function returning void crashes ikarus #269

hyln9 opened this issue Sep 12, 2014 · 1 comment

Comments

@hyln9
Copy link
Owner

hyln9 commented Sep 12, 2014

The following program crashes Ikarus revision 1870:

(import (rnrs))

(define-record-type alpha
(fields a)
(protocol (lambda (maker)
(newline))))

(make-alpha 1)

Launchpad Details: #LP559498 Marco Maggi - 2010-04-09 14:43:17 -0400

@hyln9
Copy link
Owner Author

hyln9 commented Sep 12, 2014

It does not crash when done in the REPL:

Ikarus Scheme version 0.0.4-rc1+ (revision 1870, build 2010-04-08)
Copyright (c) 2006-2009 Abdulaziz Ghuloum

(define-record-type alpha
(fields a)
(protocol (lambda (maker)
(newline))))

(make-alpha 1)
Unhandled exception
Condition components:

  1. &assertion
  2. &who: apply
  3. &message: "not a procedure"
  4. &irritants: (#)

Launchpad Details: #LPC Derick Eddington - 2010-04-09 16:34:58 -0400

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant