• Siva's avatar
    Fix some of the generic types specified to avoid runtime errors in --preview-dart-2 (#15166) · 9c38d6bb
    Siva authored
    * Fix some of the generic types specified to avoid runtime errors in
    --preview-dart-2
    
      type 'YamlMap' is not a subtype of type 'Map<String, dynamic>' where
        YamlMap is from package:yaml/src/yaml_node.dart
        Map is from dart:core
        String is from dart:core
    
      package:flutter_devicelab/framework/manifest.dart 17:36       loadTaskManifest
      test/manifest_test.dart 14:33                                 main.<fn>.<fn>
      package:test/src/backend/declarer.dart 161:27                 Declarer.test.<fn>.<fn>.<fn>
    
    * Add dynamic generic types to keep the analyer happy.
    
    * Address code review comment.
    9c38d6bb
Name
Last commit
Last update
bin Loading commit data...
dev Loading commit data...
examples Loading commit data...
packages Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
AUTHORS Loading commit data...
CONTRIBUTING.md Loading commit data...
ISSUE_TEMPLATE.md Loading commit data...
LICENSE Loading commit data...
PATENTS Loading commit data...
README.md Loading commit data...
analysis_options.yaml Loading commit data...
analysis_options_repo.yaml Loading commit data...
appveyor.yml Loading commit data...
flutter_console.bat Loading commit data...