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

Camlp4o and integer literals #5118

Closed
vicuna opened this issue Aug 3, 2010 · 0 comments
Closed

Camlp4o and integer literals #5118

vicuna opened this issue Aug 3, 2010 · 0 comments

Comments

@vicuna
Copy link

vicuna commented Aug 3, 2010

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

Bug description

Objective Caml version 3.12.0

#load"dynlink.cma";;

#load"camlp4o.cma";;

Camlp4 Parsing version 3.12.0

let test = Int32.min_int;;

val test : int32 = -2147483648l

let test = -2147483648l;;

Characters 12-23:
let test = -2147483648l;;
^^^^^^^^^^^
Error: Integer literal exceeds the range of representable integers of type int32

Additional information

May be related to bug #5090?

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