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

Side by Side Diff: compiler/java/com/google/dart/compiler/DartCompilerMainContext.java

Issue 8384012: Make some ErrorCode-s compile-time errors and some just type warnings (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Changes for comments Created 9 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 package com.google.dart.compiler; 5 package com.google.dart.compiler;
6 6
7 import com.google.dart.compiler.ast.DartUnit; 7 import com.google.dart.compiler.ast.DartUnit;
8 import com.google.dart.compiler.ast.LibraryUnit; 8 import com.google.dart.compiler.ast.LibraryUnit;
9 import com.google.dart.compiler.metrics.CompilerMetrics; 9 import com.google.dart.compiler.metrics.CompilerMetrics;
10 import com.google.dart.compiler.parser.DartParser; 10 import com.google.dart.compiler.parser.DartParser;
11 import com.google.dart.compiler.resolver.ResolverErrorCode;
12 import com.google.dart.compiler.resolver.TypeErrorCode; 11 import com.google.dart.compiler.resolver.TypeErrorCode;
13 12
14 import java.io.IOException; 13 import java.io.IOException;
15 import java.io.Reader; 14 import java.io.Reader;
16 import java.io.Writer; 15 import java.io.Writer;
17 import java.net.URI; 16 import java.net.URI;
18 import java.util.concurrent.atomic.AtomicBoolean; 17 import java.util.concurrent.atomic.AtomicBoolean;
19 import java.util.concurrent.atomic.AtomicInteger; 18 import java.util.concurrent.atomic.AtomicInteger;
20 19
21 /** 20 /**
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 @Override 176 @Override
178 public LibrarySource getSystemLibraryFor(String importSpec) { 177 public LibrarySource getSystemLibraryFor(String importSpec) {
179 return compilerConfiguration.getSystemLibraryFor(importSpec); 178 return compilerConfiguration.getSystemLibraryFor(importSpec);
180 } 179 }
181 180
182 @Override 181 @Override
183 public void unitCompiled(DartUnit unit) { 182 public void unitCompiled(DartUnit unit) {
184 listener.unitCompiled(unit); 183 listener.unitCompiled(unit);
185 } 184 }
186 } 185 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698