[plt-scheme] mzc error in & .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:
[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- --exe test- 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 

  === 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]

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

Jakub Piotr Cłapa

Posted on the users mailing list.