Open Sean1708 opened 8 years ago
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.
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.
Currently
will be converted into
which is very obviously wrong, it should just be ignored.
Also generics in structs should cause an error.