id	summary	reporter	owner	description	type	status	priority	milestone	component	resolution	keywords	cc	planetversion	pltversion
363	Hello world doesn't compile	james@…	dyoo	"I tried compiling the basic hello-world tutorial from the docs and got a confusing error.

Here is the source of test.rkt:

{{{
#lang planet dyoo/js-vm:1:7
(printf ""Hello, world!\n"")
(check-expect (* 3 4 5) 60)
(current-seconds)
(image-url ""http://racket-lang.org/logo.png"")
(check-expect (big-bang 0
                        (on-tick add1 1)
                        (stop-when (lambda (x) (= x 10))))
              10)
""last line""
}}}

And the run.rkt which I try to run:

{{{
#lang racket
(require (planet ""main.rkt"" (""dyoo"" ""js-vm.plt"" 1 14)))
(run-in-browser ""test.rkt"")
}}}

And the error I get:

{{{
../../.racket/planet/300/5.1.3/cache/dyoo/js-vm.plt/1/14/private/translate-bytecode-structs-5.1.rkt:311:36: match: wrong number for fields for structure internal:provided: expected 6 but got 7 in: (name src src-name nom-mod src-phase protected? insp)
}}}"	defect	new	major		dyoo/js-vm.plt				(1 14)	5.1.3
