Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Type inference problem
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jonathan Roewen <jonathan.roewen@g...>
Subject: Re: [Caml-list] Type inference problem
Ohh, I found it =) If without else, where return type of if is non-unit.

Is it possible compiler could flag this error a bit better? IE: when
if returns non-unit, and there's no else?

Jonathan