
The initial loading happens on the host, which was building a script snapshot and allowing imports of dart:mirrors. Hot reload happens on the device, which then notices the imports and issues a compile-time error. This change causes programs with imports of dart:mirrors to be rejected during the initial load. Fixes https://github.com/flutter/flutter/issues/12440
Flutter tools
Tools for building Flutter applications.
To run the tests, ensure that no devices are connected,
then navigate to flutter_tools
and execute:
../../bin/cache/dart-sdk/bin/pub run test