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 9149008: Fixes for parsing warnigs, issue 1060. (Closed)

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

Description

Fixes for parsing warnigs, issue 1060. 1. Diet parsing notification fix. 2. Disable name shadow warnings for htmlimpl.dart library, until library itself will be fixed. 3. Fix for identifying core libraries in Editor. R=zundel@google.com BUG= TEST= Committed: https://code.google.com/p/dart/source/detail?r=3113

Patch Set 1 #

Total comments: 2

Messages

Total messages: 3 (0 generated)
scheglov
8 years, 11 months ago (2012-01-09 18:39:51 UTC) #1
zundel
lgtm
8 years, 11 months ago (2012-01-09 19:51:25 UTC) #2
sra1
8 years, 11 months ago (2012-01-09 22:02:24 UTC) #3
http://codereview.chromium.org/9149008/diff/1/compiler/java/com/google/dart/c...
File compiler/java/com/google/dart/compiler/resolver/ResolutionContext.java
(right):

http://codereview.chromium.org/9149008/diff/1/compiler/java/com/google/dart/c...
compiler/java/com/google/dart/compiler/resolver/ResolutionContext.java:84: if
(!Elements.isLibrarySource(element.getNode().getSource(), "htmlimpl.dart")) {
Does this suppress only the shadowing warnings?
Mostly they are 'parameter' or 'local' shadows 'method'

http://codereview.chromium.org/9149008/diff/1/compiler/java/com/google/dart/c...
compiler/java/com/google/dart/compiler/resolver/ResolutionContext.java:84: if
(!Elements.isLibrarySource(element.getNode().getSource(), "htmlimpl.dart")) {
dart:dom has exactly the same issue.
Please treat dart:dom and dart:htmlimpl the same with regards to this issue.

Powered by Google App Engine
This is Rietveld 408576698