Skip to content

mobile/desktop engine might be missing some plumbing for sound-null-safety #59879

@jonahwilliams

Description

@jonahwilliams

Running with --enable-experiment=non-nullable and an agnostic mode dill, we can successfully compile a trivial program to sound null safety. Unfortunately, this fails at runtime with:

[VERBOSE-2:shell.cc(209)] Dart Error: error: Library 'package:hello_world/main.dart' was compiled with null safety (in strong mode) and it requires --null-safety option at runtime

I tried passing this flag via --dart-flags, but that did not change the messaging.

Metadata

Metadata

Assignees

Labels

P0Critical issues such as a build break or regressiona: null-safetySupport for Dart's null safety featurecustomer: productengineflutter/engine related. See also e: labels.waiting for PR to land (fixed)A fix is in flight

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions