seanjensengrey / mosh-scheme

Automatically exported from code.google.com/p/mosh-scheme
Other
0 stars 0 forks source link

NMosh raises an error with record constructor #235

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Run the following script with nmosh
(import (prefix (rnrs) rnrs.))
(rnrs.define-record-type (foo make-foo foo?)
  (rnrs.fields (rnrs.mutable brr)))
(make-foo 1)

What is the expected output? What do you see instead?
finish normally.

But I've got the following error.
 Condition components!:
 1. &assertion
 2. &who             "record constructor"
 3. &message         "wrong number of arguments"
 4. &irritants       ((1))

What version of the product are you using? On what operating system?
nmosh -v
Mosh R6RS scheme interpreter, version 0.2.7 (mosh-0.2.7 Tue, 14 Jun 2011 
07:00:31 +0900)

On Cygwin.

Please provide any additional information below.
Psyntax mosh works fine and if I don't put prefix to import clause it works 
fine as well.

Original issue reported on code.google.com by ktakash...@gmail.com on 24 Jan 2013 at 4:10

GoogleCodeExporter commented 9 years ago

Original comment by hige...@gmail.com on 27 Jan 2013 at 5:51

GoogleCodeExporter commented 9 years ago
Thanks for the report. Fixed as 
https://github.com/okuoku/mosh/commit/a987709872a43c05d3f7e1d77bd29249c89cf9d0

Queued for 0.2.8.

Original comment by oku...@gmail.com on 1 Feb 2013 at 5:23