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

CamlIDL: wrong enums/structs are not detected #8101

Closed
vicuna opened this issue Apr 13, 2003 · 0 comments
Closed

CamlIDL: wrong enums/structs are not detected #8101

vicuna opened this issue Apr 13, 2003 · 0 comments

Comments

@vicuna
Copy link

vicuna commented Apr 13, 2003

Original bug ID: 1635
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: -for CamlIDL use https://github.com/xavierleroy/camlidl/issues

Bug description

The following errors are not detected by camlidl compiler so it generates
the wrong .ml/.mli files.

[--- test.idl---]
struct Container {
enum NotExistingEnumName member1;
struct NotExistingStructName member2;
};
[--- end of test.idl ---]

produces

[--- test.ml---]
(* File generated from test.idl *)

type notExistingEnumName =
and container = {
member1: notExistingEnumName;
member2: notExistingStructName;
}
[--- end of test.ml ---]

  • Dmitry Bely
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