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

Unified Diff: test/codegen/expect/dart/_internal.js

Issue 997143003: Fix for conditional expressions (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Add test case Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/checker/checker_test.dart ('k') | test/codegen/expect/dart/_native_typed_data.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/expect/dart/_internal.js
diff --git a/test/codegen/expect/dart/_internal.js b/test/codegen/expect/dart/_internal.js
index 7d2092c3b2882a519a96065ef1946db4deb15a82..1f3faff5e1c8b0208118c4d55b17bf570b9edaab 100644
--- a/test/codegen/expect/dart/_internal.js
+++ b/test/codegen/expect/dart/_internal.js
@@ -1370,7 +1370,7 @@ var _internal;
this[_values] = $_values;
}
get(key) {
- return dart.as(this.containsKey(key) ? this[_values].get(key) : null, E);
+ return this.containsKey(key) ? this[_values].get(key) : null;
}
get length() {
return this[_values].length;
« no previous file with comments | « test/checker/checker_test.dart ('k') | test/codegen/expect/dart/_native_typed_data.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698