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

Issue 9264022: Protect vs. NPE in TypeAnalyzer.checkInitializedDeclaration() (Closed)

Created:
8 years, 11 months ago by zundel
Modified:
8 years, 11 months ago
Reviewers:
codefu
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Protect vs. NPE in TypeAnalyzer.checkInitializedDeclaration() Stack trace came from user feedback on Dart Editor. See: http://code.google.com/p/dart/issues/detail?id=759 I wish I could reproduce the original problem, but this guard would be sure to fix it. Committed: https://code.google.com/p/dart/source/detail?r=3447

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M compiler/java/com/google/dart/compiler/type/TypeAnalyzer.java View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 3 (0 generated)
zundel
8 years, 11 months ago (2012-01-19 20:29:29 UTC) #1
codefu
LGTM. I tried to repro the problem earlier, but that only lead down more CL ...
8 years, 11 months ago (2012-01-19 20:36:16 UTC) #2
zundel
8 years, 11 months ago (2012-01-19 20:54:51 UTC) #3
On 2012/01/19 20:36:16, codefu wrote:
> LGTM.  I tried to repro the problem earlier, but that only lead down more CL
> rabbit holes and I didn't pop up to this one.

I tried too.  It may have been fixed in the interim during compile time constant
related fixes, or it may depend on an AST returned from a particular failed
parse.

Powered by Google App Engine
This is Rietveld 408576698