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: 3913 Reporter:@alainfrisch Status: closed (set by @xavierleroy on 2005-12-11T10:13:44Z) Resolution: fixed Priority: normal Severity: minor Category: ~DO NOT USE (was: OCaml general) Monitored by:@alainfrisch
Bug description
J'ai l'impression que la nouvelle implémentation du warning pour les statements qui n'ont pas le type unit (commit "delayed check for Statement_type too" dans le CVS) est cassée.
Si l'on compile par exemple le module Array, on obtient:
File "array.ml", line 263, characters 6-47:
Warning S: this expression should have type unit.
File "array.ml", line 264, characters 6-38:
Warning S: this expression should have type unit.
En rajoutant unit explicitement comme type de retour pour la fonction, ça passe.
The text was updated successfully, but these errors were encountered:
Original bug ID: 3913
Reporter: @alainfrisch
Status: closed (set by @xavierleroy on 2005-12-11T10:13:44Z)
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Monitored by: @alainfrisch
Bug description
J'ai l'impression que la nouvelle implémentation du warning pour les statements qui n'ont pas le type unit (commit "delayed check for Statement_type too" dans le CVS) est cassée.
Si l'on compile par exemple le module Array, on obtient:
File "array.ml", line 263, characters 6-47:
Warning S: this expression should have type unit.
File "array.ml", line 264, characters 6-38:
Warning S: this expression should have type unit.
En rajoutant unit explicitement comme type de retour pour la fonction, ça passe.
The text was updated successfully, but these errors were encountered: