Closed sviperll closed 8 years ago
Allow to declare list type like this without any additional troubles:
@GenerateValueClassForVisitor @Visitor(resultVariableName="R") interface ListVisitor<T, R> { R nil(); R cons(T head, List<T> tail); // Here List is a newly generated class }
It's done, but there is still a javac bug that prevents it from working in all cases...
Allow to declare list type like this without any additional troubles: