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: 4022 Reporter: philippe_wang Status: closed (set by @xavierleroy on 2006-06-13T09:38:47Z) Resolution: not a bug Priority: normal Severity: minor Version: 3.09.2 Category: ~DO NOT USE (was: OCaml general) Monitored by: philippe_wang
Bug description
I've just seen that I can write :
if 0b0=0b0then 1 else 0
without any space between "0b0" and "then" !
Could that be in purpose ?! I hope not. :-)
The text was updated successfully, but these errors were encountered:
Nothing to do with binary literals specifically, e.g.
if 0=0then 1else 0 is OK as well. This is a consequence of the "longest match" convention for the lexer, and there is really no reason to change it.
Original bug ID: 4022
Reporter: philippe_wang
Status: closed (set by @xavierleroy on 2006-06-13T09:38:47Z)
Resolution: not a bug
Priority: normal
Severity: minor
Version: 3.09.2
Category: ~DO NOT USE (was: OCaml general)
Monitored by: philippe_wang
Bug description
I've just seen that I can write :
if 0b0=0b0then 1 else 0
without any space between "0b0" and "then" !
Could that be in purpose ?! I hope not. :-)
The text was updated successfully, but these errors were encountered: