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

Side by Side Diff: compiler/java/com/google/dart/compiler/resolver/DynamicElementImplementation.java

Issue 10983089: Issue 3968. Report error if cycle in redirecting factory constructors (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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.resolver; 5 package com.google.dart.compiler.resolver;
6 6
7 import com.google.common.collect.ImmutableSet; 7 import com.google.common.collect.ImmutableSet;
8 import com.google.dart.compiler.ast.DartExpression; 8 import com.google.dart.compiler.ast.DartExpression;
9 import com.google.dart.compiler.ast.LibraryUnit; 9 import com.google.dart.compiler.ast.LibraryUnit;
10 import com.google.dart.compiler.type.DynamicType; 10 import com.google.dart.compiler.type.DynamicType;
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 public boolean isSynthetic() { 104 public boolean isSynthetic() {
105 return true; 105 return true;
106 } 106 }
107 107
108 @Override 108 @Override
109 public ConstructorElement getDefaultConstructor() { 109 public ConstructorElement getDefaultConstructor() {
110 throw new UnsupportedOperationException(); 110 throw new UnsupportedOperationException();
111 } 111 }
112 112
113 @Override 113 @Override
114 public ConstructorElement getRedirectingFactoryConstructor() {
115 throw new UnsupportedOperationException();
116 }
117
118 @Override
114 public void setDefaultConstructor(ConstructorElement defaultConstructor) { 119 public void setDefaultConstructor(ConstructorElement defaultConstructor) {
115 throw new UnsupportedOperationException(); 120 throw new UnsupportedOperationException();
116 } 121 }
117 122
118 @Override 123 @Override
119 public boolean isStatic() { 124 public boolean isStatic() {
120 return false; 125 return false;
121 } 126 }
122 127
123 @Override 128 @Override
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
306 @Override 311 @Override
307 public int getOpenBraceOffset() { 312 public int getOpenBraceOffset() {
308 return -1; 313 return -1;
309 } 314 }
310 315
311 @Override 316 @Override
312 public int getCloseBraceOffset() { 317 public int getCloseBraceOffset() {
313 return -1; 318 return -1;
314 } 319 }
315 } 320 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698