dart-pad icon indicating copy to clipboard operation
dart-pad copied to clipboard

Embeds don't call analyze() during initialization

Open johnpryan opened this issue 3 years ago • 0 comments

Embeds don't run analyze right away. For example, see this invalid Dart snippet. This is because we tell it not to:

https://github.com/dart-lang/dart-pad/blob/36192896815f9d6d175a858f238d526bad191f55/lib/embed.dart#L489

@RedBrogdon is this a design choice or just an oversight?

johnpryan avatar Mar 17 '22 23:03 johnpryan