Skip to content
Snippets Groups Projects
  1. May 31, 2018
  2. May 19, 2018
  3. May 14, 2018
  4. May 03, 2018
  5. May 02, 2018
  6. Apr 17, 2018
  7. Apr 12, 2018
  8. Apr 10, 2018
  9. Apr 06, 2018
  10. Mar 27, 2018
  11. Mar 22, 2018
  12. Mar 20, 2018
  13. Mar 07, 2018
  14. Mar 06, 2018
  15. Mar 02, 2018
  16. Feb 24, 2018
  17. Feb 23, 2018
  18. Feb 10, 2018
  19. Feb 07, 2018
  20. Jan 22, 2018
  21. Jan 03, 2018
  22. Jan 02, 2018
  23. Dec 18, 2017
    • Bob Nystrom's avatar
      Fix a couple of strong mode runtime cast errors. (#733) · 26db9616
      Bob Nystrom authored
      Fix a couple of strong mode runtime cast errors.
      
      In strong mode, a generic type instantiated with dynamic is not a
      subtype of all types. You can't pass a List<dynamic> to something
      expecting, say, List<int>.
      
      These errors are usually detected statically, and most of those have
      been fixed. However, sometimes this becomes a runtime cast, as in:
      
      main() {
        // Store a List<dynamic> in a variable of type dynamic.
        dynamic d = [];
      
        // Implicit runtime downcast from dynamic to List<String>.
        List<String> s = d;
      }
      
      In order to ease the migration to strong mode, DDC has been ignoring
      these cast failures when they involve certain commonly used types. We
      are now in the process of actively fixing those errors.
      
      More context: https://github.com/dart-lang/sdk/issues/27223
  24. Dec 01, 2017
  25. Nov 14, 2017
  26. Nov 08, 2017
  27. Nov 02, 2017
    • Natalie Weizenbaum's avatar
      Make addTearDown() play nice with setUpAll() · 4f701e56
      Natalie Weizenbaum authored
      addTearDown() now adds a tearDownAll() rather than adding a plain
      tearDown() when called from within setUpAll() (or tearDownAll()). This
      is technically a behavioral change, but the old behavior was so
      useless I doubt anyone was relying on it.
      
      Closes #712
      4f701e56
Loading