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

Unified Diff: pkg/front_end/lib/src/fasta/builder/dynamic_type_builder.dart

Issue 2691523002: Ensure locations are always provided, but don't store them yet. (Closed)
Patch Set: Address comments. Created 3 years, 10 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: pkg/front_end/lib/src/fasta/builder/dynamic_type_builder.dart
diff --git a/pkg/front_end/lib/src/fasta/builder/dynamic_type_builder.dart b/pkg/front_end/lib/src/fasta/builder/dynamic_type_builder.dart
index 47c88901aa8498c6877000fcbf61af6c5ca9cea4..32675f3acb6071e42131b9beab319e2e7dc74717 100644
--- a/pkg/front_end/lib/src/fasta/builder/dynamic_type_builder.dart
+++ b/pkg/front_end/lib/src/fasta/builder/dynamic_type_builder.dart
@@ -5,16 +5,16 @@
library fasta.dynamic_type_builder;
import 'builder.dart' show
+ LibraryBuilder,
TypeBuilder,
TypeDeclarationBuilder;
-// TODO(ahe): Make const class.
class DynamicTypeBuilder<T extends TypeBuilder, R>
extends TypeDeclarationBuilder<T, R> {
final R type;
- DynamicTypeBuilder(this.type)
- : super (null, 0, "dynamic", null, null);
+ DynamicTypeBuilder(this.type, LibraryBuilder compilationUnit, int charOffset)
+ : super(null, 0, "dynamic", null, compilationUnit, charOffset);
R buildType(List<T> arguments) => type;

Powered by Google App Engine
This is Rietveld 408576698