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: 6828 Reporter:@dbuenzli Status: closed (set by @xavierleroy on 2017-02-16T14:15:00Z) Resolution: won't fix Priority: normal Severity: minor Version: 4.02.1 Category: ~DO NOT USE (was: OCaml general) Related to:#4627#6961
Bug description
I don't know if this is expected (a very quick look at the grammar language seems to indicate that it should not be accepted):
This has nothing to do with modules: a semicolon is accepted at the end of expressions. It's not documented, but it is working as designed : a semicolon is accepted at the end of an expr in some places, most notably so we can write:
begin
expr;
expr;
expr;
end
Original bug ID: 6828
Reporter: @dbuenzli
Status: closed (set by @xavierleroy on 2017-02-16T14:15:00Z)
Resolution: won't fix
Priority: normal
Severity: minor
Version: 4.02.1
Category: ~DO NOT USE (was: OCaml general)
Related to: #4627 #6961
Bug description
I don't know if this is expected (a very quick look at the grammar language seems to indicate that it should not be accepted):
module M = struct let f x = x; end;;
module M : sig val f : 'a -> 'a end
It may be related to #4627
The text was updated successfully, but these errors were encountered: