worawit/blutter

exception: Cannot find null-safety text [Dart : 3.5.0-109.0.dev]

Closed this issue · 2 comments

Dart version: 3.5.0-109.0.dev, Snapshot: 8787c610dd232d2d3efae139c322b964, Target: android arm64
flags: product no-code_comments no-dwarf_stack_traces_mode no-lazy_dispatchers dedup_instructions no-tsan arm64 android compressed-pointers
exception: Cannot find null-safety text

https://www.mediafire.com/file/ugnwa4yf9nx9maa/arm64-Snapshot-8787c610dd232d2d3efae139c322b964.7z/file

Most likely due to dev version, Dart devs implemented something new again...
a possible temporary fix

Modify the DartLoader.cpp like this: #50
image

or you can even comment out whole condition for pos NULL check and force true flags.null_safety = true;

well even if you make it false, it'll work but considering since Dart 3 it's default, as such I've set it to true.

because there's no guarantee if dart devs will implement this onwards or will just use for some versions like #64