Suppression d'un warning
This commit is contained in:
parent
5b7784184d
commit
8f5488bf86
@ -121,7 +121,7 @@ let rec typecheck (env: gam) (l: lam) (t: ty) : bool =
|
|||||||
| (LFun(x,t,l'),TImpl(tx,ty)) -> typecheck ((x,tx)::env) l' ty
|
| (LFun(x,t,l'),TImpl(tx,ty)) -> typecheck ((x,tx)::env) l' ty
|
||||||
| (LFun(_,_,_),_) -> false (* Une fonction est forcément une ... fonction *)
|
| (LFun(_,_,_),_) -> false (* Une fonction est forcément une ... fonction *)
|
||||||
| (LApp(lf,lx),t) ->
|
| (LApp(lf,lx),t) ->
|
||||||
let t' = (raise TODOException; TFalse) in
|
let t' = raise TODOException in
|
||||||
(typecheck env lf (TImpl(t',t))) && (typecheck env lx t')
|
(typecheck env lf (TImpl(t',t))) && (typecheck env lx t')
|
||||||
| (LVar(x),t) ->
|
| (LVar(x),t) ->
|
||||||
begin
|
begin
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user