[racket-dev] `#%declare' and cross-phase persistent modules

2013-07-22 Thread Matthew Flatt
As of v5.90.0.2 (pending), to declare a cross-phase persistent module, the module body must include (#%declare #:cross-phase-persistent) If the module declaration fails to meet the syntactic and import constraints of a cross-phase persistent module, then a syntax error is reported. This change

Re: [racket-dev] `#%declare' and cross-phase persistent modules

2013-07-22 Thread Stephen Chang
When compiling a fresh git head clone, I still get some cross-phase persistence errors (see below). Is this my fault, or are some packages still missing the declaration? raco setup: --- checking package dependencies --- raco setup: raco setup: error: during making for

Re: [racket-dev] `#%declare' and cross-phase persistent modules

2013-07-22 Thread Carl Eastlund
I get the same thing. Also, the error message is particularly unhelpful. It does not give the name of the module, a source location, or any indication of what part of the module did not match what part of the grammar in what way. This is pretty much impossible to debug without searching for

Re: [racket-dev] `#%declare' and cross-phase persistent modules

2013-07-22 Thread Matthew Flatt
I'm seeing that in a fresh build. (Didn't see it before, because I had mangled my build.) I'll push a repair shortly. At Mon, 22 Jul 2013 17:14:49 -0400, Stephen Chang wrote: When compiling a fresh git head clone, I still get some cross-phase persistence errors (see below). Is this my fault,