Skip to content

compile [exe|aot-snapshot] with --no-sound-null-safety does not work when the Dart VM is switched to sound null safety by default #50101

Closed
@a-siva

Description

@a-siva

The compile [exe|aot-snapshot] commands appear to rely on the automatic detection of null safety from the kernel file as a result when the Dart VM is switched to sound null safety by default these commands do not work when used with --no-sound-null-safety

dart compile exe --no-sound-null-safety hello.dart

would fail

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-dart-cliUse area-dart-cli for issues related to the 'dart' command like tool.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions