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

Unified Diff: tools/dom/scripts/systemhtml.py

Issue 2857143003: dart2js_html: Fix for issue 29538 - some returned lists may be null (Closed)
Patch Set: Created 3 years, 8 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 | « tools/dom/scripts/dartmetadata.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/dom/scripts/systemhtml.py
diff --git a/tools/dom/scripts/systemhtml.py b/tools/dom/scripts/systemhtml.py
index 3684d7caff590bc8c1372b2288c462294587ca1f..11db1f7a9dcf454a43d0f6d34526fcb527de955a 100644
--- a/tools/dom/scripts/systemhtml.py
+++ b/tools/dom/scripts/systemhtml.py
@@ -1242,7 +1242,7 @@ class Dart2JSBackend(HtmlDartGenerator):
if native_type != return_type:
anns = anns + [
- "@Returns('%s')" % native_type,
+ "@Returns('%s|Null')" % native_type,
"@Creates('%s')" % native_type,
]
if dart_type == 'dynamic' or dart_type == 'Object':
« no previous file with comments | « tools/dom/scripts/dartmetadata.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698