Skip to content

frontend_server --initialize-from-dill does not account for autodetected sound mode #68901

@jonahwilliams

Description

@jonahwilliams

In #68898 I will land a mitigation that caches a sound dill separately from a non-sound dill. This only works if --sound-null-safety is specified from the command line.

If the soundness mode is autodetected, then the tool does not know whether the dill was compiled in sound or unsound mode.

There are three potential long term fixes:

  • The frontend_server accounts for sound/unsound in --initialize-from-dill and recompiles accordingly
  • The frontend_server communicates in some way to the tool what mode the dill was compiled in, and the tool implements additional caching logic to account for this.
  • The tool disables --initialize-from-dill

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: null-safetySupport for Dart's null safety featuredependency: dartDart team may need to help us

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions