-
Notifications
You must be signed in to change notification settings - Fork 552
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
Segfaults when inheriting from empty class #21221
Comments
Possibly related: #20890 |
Just remembered the PSC #102 summary, according to which this should have been documented as a known bug. But I’m afraid we all kind of forgot about that. 😑 |
Which segfaults are known, and which are new bugs? I'm also seeing a segfault with this: class Point {
field $x: param();
} |
Providing a body for at least one of the
|
Yes, this does look like a duplicate of #20890. Sorry for that. |
Still seems to fail on current bleadperl:
|
Description
When using the experimental
class
syntax in v5.38.0, we segfault if we inherit from an empty base class.Steps to Reproduce
Defining the body of the
Animal
class makes the error go away.Expected behavior
I would have expected the code above to print "Hello"
Perl configuration
The text was updated successfully, but these errors were encountered: