[plt-scheme] mzc error in 3.99.0.13 & .17

From: Jakub Piotr Cłapa (jpc-ml at zenburn.net)
Date: Fri Mar 14 20:19:57 EDT 2008

I've got a strange error from mzc --exe:
#v+
[jpc at jpc ~/Projects/scheme] cat test.scm
#lang scheme/base

(define (twice x)
   (cons x x))

(write (map twice '(1 2 3 4 5))) (newline)
[jpc at jpc ~/Projects/scheme] mzc-3.99.0.17 --exe test-3.99.0.17 test.scm
mzc v3.99.0.17 [3m], Copyright (c) 2004-2008 PLT Scheme Inc.
context (lexical binding) expected 4 values, received 1 value: ((0 
#<module-path-index>))

  === context ===
/Users/jpc/Desktop/PLT Scheme 
v3.99.0.17/collects/compiler/embed-unit.ss:342:4: get-code
/Users/jpc/Desktop/PLT Scheme 
v3.99.0.17/collects/compiler/embed-unit.ss:599:4: write-module-bundle

[jpc at jpc ~/Projects/scheme]
#v-

This fails on both .13 and .17 but worked on .9

-- 
regards,
Jakub Piotr Cłapa


Posted on the users mailing list.