Runtime crash when accessing a field that was captured before it was initialized #4301
Labels
bug
Something isn't working
help wanted
Extra attention is needed
triggers release
Major issue that when fixed, results in an "emergency" release
The following program crashes in the lambda
{() => _foo.n }
:The lambda captured the pointer to
_foo
before it was initialized (if you initialize_foo
directly and not in the constructor everything works fine).The text was updated successfully, but these errors were encountered: