• Chris Bracken's avatar
    Migrate devfs tests to Dart 2 (#21285) · 251e82d2
    Chris Bracken authored
    DevFS.update only runs in Dart 2 mode when the generator parameter is
    supplied. In Dart 2 mode, both mainPath and pathToReload are required
    parameters; this patch marks them as such.
    
    generator is required for running in Dart 2. All call sites other than tests already explicitly set this value.
    
    Note the statements on line 510 and line 516 for why mainPath and pathToReload are required.
    251e82d2
Name
Last commit
Last update
.github Loading commit data...
bin Loading commit data...
dev Loading commit data...
examples Loading commit data...
packages Loading commit data...
.cirrus.yml Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
analysis_options.yaml Loading commit data...
appveyor.yml Loading commit data...
flutter_console.bat Loading commit data...