Skip to content

Support general Dart expression evaluation #715

Closed
@alan-knight

Description

@alan-knight

Support compiling and evaluating arbitrary Dart expressions in a REPL and in watch expressions.

The expectation is that we can do this through the CFE's compileExpression and having a command we can send to the persistent worker, with outlines already loaded, but this has to be verified. Watch expressions will also be more complicated because they need to be repeatedly evaluated in different contexts, where a variable might have a completely different type or be absent. So we may need something like the web_compiler of DDC that compiles entirely to dynamic calls.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions