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

Unified Diff: sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart

Issue 177963002: Use List instead of Link in the type system. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 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: sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart
diff --git a/sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart b/sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart
index 8bd75a3d228adbf1e6929a9b07b9b19e25263baf..70e481e991071aa46199dd1769555bce6d3c7d87 100644
--- a/sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart
+++ b/sdk/lib/_internal/compiler/implementation/dart_backend/backend.dart
@@ -409,14 +409,7 @@ class DartBackend extends Backend {
SynthesizedConstructorElementX constructor =
new SynthesizedConstructorElementX(
classElement.name, null, classElement, false);
- constructor.type = new FunctionType(
- constructor,
- compiler.types.voidType,
- const Link<DartType>(),
- const Link<DartType>(),
- const Link<String>(),
- const Link<DartType>()
- );
+ constructor.type = new FunctionType(constructor, compiler.types.voidType);
constructor.cachedNode = new FunctionExpression(
new Send(classNode.name, synthesizedIdentifier),
new NodeList(new StringToken.fromString(OPEN_PAREN_INFO, '(', -1),

Powered by Google App Engine
This is Rietveld 408576698