Closed
Description
It looks like the VM currently doesn't support application snapshots in Dart 2 mode. Given a file test.dart
, when I run
$ dart --preview-dart-2 --snapshot=test.dart.snapshot --snapshot-kind=app-jit test.dart
$ dart --preview-dart-2 test.dart.snapshot
it prints "Missing root library" and exits with code 255. I've tested this with Dart 2.0.0-dev.55.