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

Issue 10659037: Issue 3839. Warn when 'dart:io' and 'dart:html' are used in single library (Closed)

Created:
8 years, 6 months ago by scheglov
Modified:
8 years, 6 months ago
Reviewers:
Brian Wilkerson
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Issue 3839. Warn when 'dart:io' and 'dart:html' are used in single library http://code.google.com/p/dart/issues/detail?id=3839 R=brianwilkerson@google.com BUG= TEST= Committed: https://code.google.com/p/dart/source/detail?r=9133

Patch Set 1 #

Total comments: 1

Patch Set 2 : Report Editor specific warning as ErrorSeverity.INFO #

Unified diffs Side-by-side diffs Delta from patch set Stats (+40 lines, -3 lines) Patch
M compiler/java/com/google/dart/compiler/DartCompiler.java View 1 1 chunk +11 lines, -1 line 0 comments Download
M compiler/java/com/google/dart/compiler/DartCompilerErrorCode.java View 1 1 chunk +2 lines, -0 lines 0 comments Download
M compiler/javatests/com/google/dart/compiler/end2end/inc/IncrementalCompilation2Test.java View 1 chunk +24 lines, -0 lines 0 comments Download
M editor/tools/plugins/com.google.dart.tools.core/src/com/google/dart/tools/core/analysis/AnalysisMarkerManager.java View 1 1 chunk +3 lines, -2 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
scheglov
8 years, 6 months ago (2012-06-26 18:41:08 UTC) #1
Brian Wilkerson
8 years, 6 months ago (2012-06-26 18:55:05 UTC) #2
Other than the one comment, LGTM.

https://chromiumcodereview.appspot.com/10659037/diff/1/compiler/java/com/goog...
File compiler/java/com/google/dart/compiler/DartCompilerErrorCode.java (right):

https://chromiumcodereview.appspot.com/10659037/diff/1/compiler/java/com/goog...
compiler/java/com/google/dart/compiler/DartCompilerErrorCode.java:11:
CONSOLE_WEB_MIX(ErrorSeverity.WARNING,
This needs to be something that can be distinguished from a warning created
because of the specification so that we can allow users to decide whether or not
to display it.

Powered by Google App Engine
This is Rietveld 408576698