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

Unified Diff: sdk/lib/_internal/compiler/implementation/elements/modelx.dart

Issue 152593002: Version 1.2.0-dev.3.1 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/dart/
Patch Set: Created 6 years, 11 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/elements/modelx.dart
===================================================================
--- sdk/lib/_internal/compiler/implementation/elements/modelx.dart (revision 32236)
+++ sdk/lib/_internal/compiler/implementation/elements/modelx.dart (working copy)
@@ -606,10 +606,7 @@
void setPartOf(PartOf tag, DiagnosticListener listener) {
LibraryElementX library = enclosingElement;
if (library.entryCompilationUnit == this) {
- listener.reportMessage(
- listener.spanFromSpannable(tag),
- MessageKind.ILLEGAL_DIRECTIVE.error(),
- api.Diagnostic.WARNING);
+ listener.reportError(tag, MessageKind.ILLEGAL_DIRECTIVE);
return;
}
if (!localMembers.isEmpty) {
« no previous file with comments | « runtime/vm/flow_graph_inliner.cc ('k') | sdk/lib/_internal/compiler/implementation/resolution/class_members.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698