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

Unified Diff: sdk/lib/_internal/compiler/implementation/resolution/members.dart

Issue 24211003: Let the inferrer know that lazy variables can also be null incase their initializer throws. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 3 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
Index: sdk/lib/_internal/compiler/implementation/resolution/members.dart
===================================================================
--- sdk/lib/_internal/compiler/implementation/resolution/members.dart (revision 27658)
+++ sdk/lib/_internal/compiler/implementation/resolution/members.dart (working copy)
@@ -454,7 +454,7 @@
if (Elements.isStaticOrTopLevelField(element)) {
if (tree.asSendSet() != null) {
- // TODO(ngeoffray): We could do better here by using the
+ // TODO(13429): We could do better here by using the
// constant handler to figure out if it's a lazy field or not.
compiler.backend.registerLazyField(visitor.mapping);
} else {

Powered by Google App Engine
This is Rietveld 408576698