VM terminates when evaluating any expression for class that extends using itself as a type arg #49209
Labels
area-vm
Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends.
This issue was reported to me on Dart-Code's discord. I was able to reduce it to the following:
Running this code under the debugger will pause on the
debugger()
line. Trying to evaluate any expression at all (even1
) will terminate the VM and the response looks like this:There is no other error message information (via the VM Service or stderr/stdout) that I can get.
I'm not sure whether
class C extends B<C> {
makes a lot of sense (it seems like it's impossible to callC
's constructor here, since you need to pass aC
to it) but I wouldn't expect a crash.@bkonyi
The text was updated successfully, but these errors were encountered: