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

Unified Diff: lib/src/codegen/reify_coercions.dart

Issue 1266483003: format with dart_style 0.2.0-rc.3 (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « lib/src/codegen/js_names.dart ('k') | lib/src/codegen/side_effect_analysis.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/codegen/reify_coercions.dart
diff --git a/lib/src/codegen/reify_coercions.dart b/lib/src/codegen/reify_coercions.dart
index e490b190f3422d741b277e666f69a16cff1d3668..2701c5724a282b8f1bbfcf27761b63e5752538b7 100644
--- a/lib/src/codegen/reify_coercions.dart
+++ b/lib/src/codegen/reify_coercions.dart
@@ -30,8 +30,10 @@ class NewTypeIdDesc {
/// If null, then this is not a library level identifier (i.e. it's
/// a type parameter, or a special type like void, dynamic, etc)
LibraryElement importedFrom;
+
/// True => use/def in same library
bool fromCurrent;
+
/// True => not a source variable
bool synthetic;
NewTypeIdDesc({this.fromCurrent, this.importedFrom, this.synthetic});
@@ -190,6 +192,7 @@ class CoercionManager {
void enterCompilationUnit(CompilationUnit unit) {
_tm.enterCompilationUnit(unit);
}
+
void exitCompilationUnit(CompilationUnit unit) {
_tm.exitCompilationUnit(unit);
}
@@ -385,7 +388,6 @@ class TypeManager {
FunctionTypeAlias _newResolvedTypedef(
FunctionType type, List<TypeParameterType> ftvs) {
-
// The name of the typedef (unresolved at this point)
// TODO(leafp): better naming.
SimpleIdentifier t = freshTypeDefVariable("CastType");
« no previous file with comments | « lib/src/codegen/js_names.dart ('k') | lib/src/codegen/side_effect_analysis.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698