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

resolves #4493 support ruby3.3 Logger by properly initialize super class #4494

Merged
merged 1 commit into from
Sep 30, 2023

Conversation

mtasaka
Copy link
Contributor

@mtasaka mtasaka commented Sep 29, 2023

Upcoming ruby3.3 will have enhanced Logger class:
ruby/ruby@194520f which initializes newly added instance variables.
Without initializing such variables (in super class), now using subclass of Logger will cause exception.

To avoid this, first call super, then execute additional subclass initialization.

Closes #4493 .

Upcoming ruby3.3 will have enhanced Logger class:
ruby/ruby@194520f
which initializes newly added instance variables.
Without initializing such variables (in super class), now using
subclass of Logger will cause exception.

To avoid this, first call super, then execute additional subclass
initialization.

Closes asciidoctor#4493 .
@mojavelinux mojavelinux changed the title Support ruby3.3 Logger by properly initialize super class resolves #4493 support ruby3.3 Logger by properly initialize super class Sep 29, 2023
@mojavelinux
Copy link
Member

Thanks for discovering and reporting this and for providing a fix!

@mojavelinux mojavelinux merged commit 8136713 into asciidoctor:main Sep 30, 2023
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.

testsuite fails on ruby3.3.0dev due to Logger change
2 participants