Re: debuggin types in records

John Reppy <[email protected]> Fri, 26 Jan 2007 05:45:19 -0600
Newsgroups gmane.comp.lang.sml.smlnj
Message-ID <[email protected]>
Type mismatches in records (or other big types) are a real problem with
SML/NJ's error messages.  We should highlight the part of the type that
is in error.

	- John

On Jan 25, 2007, at 11:58 PM, brian wrote:

> I ran across the rather self-explanatory error
>
>    operator domain: XEventTypes.key_xevtinfo
>    operand:         {child:word, event:word, event_pt:Geometry.point,
>                      keycode:int, mbut_state:XProtTypes.mbutton_state,
>                      mod_state:XProtTypes.modkey_state, root:word,
>                      root_pt:Geometry.point, same_screen:bool,
>                      time:Word32.word}
>
> The problem is that I _think_ the error is due to the fact that I've
> got the type of one of the entries wrong.  Naturally I think I've got
> it right, and clearly I am wrong  :-)
>
> Is there some way to turn up some debugging flags so I would know
> which one ?
>
> Any good stratgey for figuring this out ?
>
> Thanks
>
> Brian
>
>
> ---------------------------------------------------------------------- 
> ---
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to  
> share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php? 
> page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Smlnj-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/smlnj-list
>


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV