need some clarification on compile-time type vs. run-time type

Graydon Hoare graydon at mozilla.com
Sat Nov 10 12:04:53 PST 2007


Brendan Eich wrote:

>  >> let q = {p:42} : {p:int}
> [stack] [init q()]
> **ERROR** EvalError: typecheck failed, val=obj type={p: [ns public 
> '__ES4__']::int } wanted={p: [ns public '__ES4__']::int } (near <no 
> filename>:1:1-1.3)
> 
> The val and wanted parts of the diagnostic look the same to me. Should 
> be fixed soon.

Fixed earlier this week on the trunk. Sorry it's not in the public build 
at the moment. My hope is that we can get rolling snapshot builds off 
the trunk happening at some point soon.

-Graydon



More information about the Es4-discuss mailing list