Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(81)

Side by Side Diff: test/codegen_expected/matcher/matcher.js

Issue 2102053003: Remove DDC custom error list now that strong mode analyzer handles it (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: another fix Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 dart_library.library('matcher', null, /* Imports */[ 1 dart_library.library('matcher', null, /* Imports */[
2 'dart_sdk' 2 'dart_sdk'
3 ], function load__matcher(exports, dart_sdk) { 3 ], function load__matcher(exports, dart_sdk) {
4 'use strict'; 4 'use strict';
5 const core = dart_sdk.core; 5 const core = dart_sdk.core;
6 const mirrors = dart_sdk.mirrors; 6 const mirrors = dart_sdk.mirrors;
7 const _interceptors = dart_sdk._interceptors; 7 const _interceptors = dart_sdk._interceptors;
8 const dart = dart_sdk.dart; 8 const dart = dart_sdk.dart;
9 const dartx = dart_sdk.dartx; 9 const dartx = dart_sdk.dartx;
10 const matcher = Object.create(null); 10 const matcher = Object.create(null);
(...skipping 1781 matching lines...) Expand 10 before | Expand all | Expand 10 after
1792 } else { 1792 } else {
1793 return dart.str`${src__pretty_print._typeName(object)}:${value}`; 1793 return dart.str`${src__pretty_print._typeName(object)}:${value}`;
1794 } 1794 }
1795 } 1795 }
1796 } 1796 }
1797 dart.fn(_prettyPrint, dynamicAndintAndSet__ToString()); 1797 dart.fn(_prettyPrint, dynamicAndintAndSet__ToString());
1798 return _prettyPrint(object, 0, core.Set.new(), true); 1798 return _prettyPrint(object, 0, core.Set.new(), true);
1799 }; 1799 };
1800 dart.fn(src__pretty_print.prettyPrint, dynamic__ToString()); 1800 dart.fn(src__pretty_print.prettyPrint, dynamic__ToString());
1801 src__pretty_print._indent = function(length) { 1801 src__pretty_print._indent = function(length) {
1802 return core.List.filled(length, ' ')[dartx.join](''); 1802 return ListOfString().filled(length, ' ')[dartx.join]('');
1803 }; 1803 };
1804 dart.fn(src__pretty_print._indent, intToString()); 1804 dart.fn(src__pretty_print._indent, intToString());
1805 src__pretty_print._typeName = function(x) { 1805 src__pretty_print._typeName = function(x) {
1806 try { 1806 try {
1807 if (x == null) return "null"; 1807 if (x == null) return "null";
1808 let type = dart.toString(dart.runtimeType(x)); 1808 let type = dart.toString(dart.runtimeType(x));
1809 return dart.test(type[dartx.startsWith]("_")) ? "?" : type; 1809 return dart.test(type[dartx.startsWith]("_")) ? "?" : type;
1810 } catch (e) { 1810 } catch (e) {
1811 return "?"; 1811 return "?";
1812 } 1812 }
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
2000 exports.src__error_matchers = src__error_matchers; 2000 exports.src__error_matchers = src__error_matchers;
2001 exports.src__interfaces = src__interfaces; 2001 exports.src__interfaces = src__interfaces;
2002 exports.src__iterable_matchers = src__iterable_matchers; 2002 exports.src__iterable_matchers = src__iterable_matchers;
2003 exports.src__map_matchers = src__map_matchers; 2003 exports.src__map_matchers = src__map_matchers;
2004 exports.src__numeric_matchers = src__numeric_matchers; 2004 exports.src__numeric_matchers = src__numeric_matchers;
2005 exports.src__operator_matchers = src__operator_matchers; 2005 exports.src__operator_matchers = src__operator_matchers;
2006 exports.src__pretty_print = src__pretty_print; 2006 exports.src__pretty_print = src__pretty_print;
2007 exports.src__string_matchers = src__string_matchers; 2007 exports.src__string_matchers = src__string_matchers;
2008 exports.src__util = src__util; 2008 exports.src__util = src__util;
2009 }); 2009 });
OLDNEW
« no previous file with comments | « test/codegen_expected/lib/typed_data/typed_data_list_test.js ('k') | test/codegen_expected/stack_trace/stack_trace.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698