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

-dsource on trunk prints match cases in incorrect order #6382

Closed
vicuna opened this issue Apr 28, 2014 · 1 comment
Closed

-dsource on trunk prints match cases in incorrect order #6382

vicuna opened this issue Apr 28, 2014 · 1 comment
Assignees
Labels

Comments

@vicuna
Copy link

vicuna commented Apr 28, 2014

Original bug ID: 6382
Reporter: @whitequark
Assigned to: @gasche
Status: closed (set by @xavierleroy on 2015-12-11T18:26:42Z)
Resolution: not a bug
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)
Monitored by: @gasche

Bug description

The following code printed by -dsource: https://gist.github.com/whitequark/5f6fc3d0a4653969d754 raises the exception Protobuf.Reader.Error(Unexpected_payload("t1", Varint)) if compiled further by ocamlc, but not if copied and pasted into a separate file.

I guess that there's a List.rev missing in -dsource handler.

@vicuna
Copy link
Author

vicuna commented Apr 28, 2014

Comment author: @whitequark

Sorry about the noise, I ran the wrong testcase. This can be closed.

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

No branches or pull requests

2 participants