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

Fix Closure API #6464

Merged
merged 1 commit into from
Dec 2, 2021
Merged

Fix Closure API #6464

merged 1 commit into from
Dec 2, 2021

Conversation

steven-johnson
Copy link
Contributor

The current API requires calling a Visitor from the Closure ctor, which means we implicitly call virtual methods from the class ctor, which is a no-no for a non-final class (see comments on #6443).

The current API requires calling a Visitor from the Closure ctor, which means we implicitly call virtual methods from the class ctor, which is a no-no for a non-final class (see comments on #6443).
@steven-johnson steven-johnson merged commit 392430d into master Dec 2, 2021
@steven-johnson steven-johnson deleted the srj/closure-fix branch December 2, 2021 21:24
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