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

Unified Diff: pkg/compiler/lib/src/kernel/element_map_impl.dart

Issue 2999683002: Remove stale comments after CL 2997593002 (Closed)
Patch Set: Created 3 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/compiler/lib/src/kernel/element_map_impl.dart
diff --git a/pkg/compiler/lib/src/kernel/element_map_impl.dart b/pkg/compiler/lib/src/kernel/element_map_impl.dart
index a6520a0b91f0d4fd399a0ba4e569d05ede175baf..18ce6f0c71ebff9a828ad3b0594efe539c561643 100644
--- a/pkg/compiler/lib/src/kernel/element_map_impl.dart
+++ b/pkg/compiler/lib/src/kernel/element_map_impl.dart
@@ -247,8 +247,6 @@ abstract class KernelToElementMapBase extends KernelToElementMapBaseMixin {
assert(checkFamily(cls));
if (data.thisType == null) {
ir.Class node = data.cls;
- // TODO(johnniwinther): Add the type argument to the list literal when we
- // no longer use resolution types.
if (node.typeParameters.isEmpty) {
data.thisType =
data.rawType = new InterfaceType(cls, const <DartType>[]);
@@ -395,8 +393,6 @@ abstract class KernelToElementMapBase extends KernelToElementMapBaseMixin {
DartType getDartType(ir.DartType type) => _typeConverter.convert(type);
List<DartType> getDartTypes(List<ir.DartType> types) {
- // TODO(johnniwinther): Add the type argument to the list literal when we
- // no longer use resolution types.
List<DartType> list = <DartType>[];
types.forEach((ir.DartType type) {
list.add(getDartType(type));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698