Skip to content

Conversation

@hduelme
Copy link
Contributor

@hduelme hduelme commented Sep 3, 2024

I added the missing generics to _ArrayIterator and _ArrayEnumeration and to the places they are used.

@ddekany
Copy link
Contributor

ddekany commented Sep 4, 2024

The reason FreeMarker doesn't use generics is that it's not backward compatible to add them to public API-s. So it couldn't adopt them. Even though TemplateElement is in principle internal, it's used by some.

@hduelme hduelme force-pushed the add-generics-to-_ArrayIterator-and-_ArrayEnumeration branch from 93810d2 to cd1f5be Compare September 4, 2024 14:47
@hduelme
Copy link
Contributor Author

hduelme commented Sep 4, 2024

Good to know, I thought TemplateElement was only an internal API. I removed the change to the API.

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

Successfully merging this pull request may close these issues.

2 participants