Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Single-digit int64 literals aren't parsed. #5248

Closed
vicuna opened this issue Apr 6, 2011 · 0 comments
Closed

Single-digit int64 literals aren't parsed. #5248

vicuna opened this issue Apr 6, 2011 · 0 comments

Comments

@vicuna
Copy link

vicuna commented Apr 6, 2011

Original bug ID: 5248
Reporter: lealanko
Assigned to: @xclerc
Status: closed (set by @xavierleroy on 2012-09-25T18:06:17Z)
Resolution: fixed
Priority: normal
Severity: major
Version: 3.12.1+dev
Fixed in version: 3.12.1+dev
Category: -for Camlp4 use https://github.com/ocaml/camlp4/issues
Related to: #5118
Monitored by: @ygrek

Bug description

Objective Caml version 3.12.1+dev6 (2011-03-06)

#load"dynlink.cma";;

#load"camlp4o.cma";;

Camlp4 Parsing version 3.12.1+dev6 (2011-03-06)

00L;;

  • : int64 = 0L

0L;

Error: Integer literal exceeds the range of representable integers of type int64

0;;

  • : int = 0

1L;;

Error: Integer literal exceeds the range of representable integers of type int64

Additional information

This was due to r10943, which was a fix to #5118.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant