| Index: pkg/compiler/lib/src/resolution/scope.dart
|
| diff --git a/pkg/compiler/lib/src/resolution/scope.dart b/pkg/compiler/lib/src/resolution/scope.dart
|
| index c3785f980df39d827307a3969a7fbf46b04166f3..41df8033f6ef8b6710d5d7f0ab20b202471393f4 100644
|
| --- a/pkg/compiler/lib/src/resolution/scope.dart
|
| +++ b/pkg/compiler/lib/src/resolution/scope.dart
|
| @@ -21,7 +21,8 @@ abstract class Scope {
|
|
|
| static Scope buildEnclosingScope(Element element) {
|
| return element.enclosingElement != null
|
| - ? element.enclosingElement.buildScope() : element.buildScope();
|
| + ? element.enclosingElement.buildScope()
|
| + : element.buildScope();
|
| }
|
| }
|
|
|
| @@ -67,8 +68,7 @@ class VariableDefinitionScope extends NestedScope {
|
| class TypeDeclarationScope extends NestedScope {
|
| final TypeDeclarationElement element;
|
|
|
| - TypeDeclarationScope(parent, this.element)
|
| - : super(parent) {
|
| + TypeDeclarationScope(parent, this.element) : super(parent) {
|
| assert(parent != null);
|
| }
|
|
|
| @@ -88,8 +88,7 @@ class TypeDeclarationScope extends NestedScope {
|
|
|
| Element localLookup(String name) => lookupTypeVariable(name);
|
|
|
| - String toString() =>
|
| - 'TypeDeclarationScope($element)';
|
| + String toString() => 'TypeDeclarationScope($element)';
|
| }
|
|
|
| abstract class MutableScope extends NestedScope {
|
| @@ -115,8 +114,7 @@ abstract class MutableScope extends NestedScope {
|
| class MethodScope extends MutableScope {
|
| final Element element;
|
|
|
| - MethodScope(Scope parent, this.element)
|
| - : super(parent);
|
| + MethodScope(Scope parent, this.element) : super(parent);
|
|
|
| String toString() => 'MethodScope($element${elements.keys.toList()})';
|
| }
|
| @@ -136,7 +134,7 @@ class ClassScope extends TypeDeclarationScope {
|
| ClassElement get element => super.element;
|
|
|
| ClassScope(Scope parentScope, ClassElement element)
|
| - : super(parentScope, element) {
|
| + : super(parentScope, element) {
|
| assert(parent != null);
|
| }
|
|
|
|
|