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

Disallow any generics. #23

Open
Sean1708 opened this issue Jan 12, 2016 · 1 comment
Open

Disallow any generics. #23

Sean1708 opened this issue Jan 12, 2016 · 1 comment

Comments

@Sean1708
Copy link
Owner

Currently

type MyOption = Option<i32>;

will be converted into

typedef Option MyOption;

which is very obviously wrong, it should just be ignored.

Also generics in structs should cause an error.

@Sean1708
Copy link
Owner Author

The problem with this is that the generics aren't known until fairly deep in the AST, so it will require a more complex parser.

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

No branches or pull requests

1 participant