You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Original bug ID: 127 Reporter: administrator Status: closed Resolution: fixed Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general)
Dans typing/typecore.ml ligne 394 on a :
| Texp_apply(e, None::el) ->
is_nonexpansive e &&
List.for_all (function None -> true | Some exp -> is_nonexpansive e) el
Logiquement, cela devrait être
(...) | Some exp -> is_nonexpansive exp ) (...)
A propos, à quoi sert ce cas particulier ?
The text was updated successfully, but these errors were encountered:
Logiquement, cela devrait etre
(...) | Some exp -> is_nonexpansive exp ) (...)
Bien vu, je corrige.
C'est cool d'avoir des gens qui verifient votre code par derriere!
A propos, a` quoi sert ce cas particulier ?
En mode -labels, quand un argument non-optionel est absent d'une application
mais que ceux qui le suivent sont presents, il est remplace' par None dans
l'arbre syntaxique type'. L'eta-expansion correspondante est effectuee dans
bytecomp.ml. Comme ca va etre eta-expanse', cette application n'a pas
d'effets de bord.
Dans typing/typecore.ml ligne 394 on a :
| Texp_apply(e, None::el) ->
is_nonexpansive e &&
List.for_all (function None -> true | Some exp -> is_nonexpansive e) el
Logiquement, cela devrait être
(...) | Some exp -> is_nonexpansive exp ) (...)
C'est exact. J'ai corrigé cela lors d'une "mise au carré" récente de
la fonction is_nonexpansive.
Original bug ID: 127
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Bug description
Full_Name: Florian Douetteau
Version: 3.00
OS: Linux
Submission from: www-cache.ens.fr (129.199.2.1)
Dans typing/typecore.ml ligne 394 on a :
| Texp_apply(e, None::el) ->
is_nonexpansive e &&
List.for_all (function None -> true | Some exp -> is_nonexpansive e) el
Logiquement, cela devrait être
(...) | Some exp -> is_nonexpansive exp ) (...)
A propos, à quoi sert ce cas particulier ?
The text was updated successfully, but these errors were encountered: