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

Side by Side Diff: compiler/javatests/com/google/dart/compiler/end2end/inc/myother0.globalfunctionchange.dart

Issue 11273064: Issue 5887. Parts must start with 'part of'. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 1 month 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) 2011, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2011, 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 part of myApp;
4 5
5 class Other0 { 6 class Other0 {
6 static int value() { return 42; } 7 static int value() { return 42; }
7 8
8 int field_; 9 int field_;
9 10
10 Other0() : this.field_ = 42 { } 11 Other0() : this.field_ = 42 { }
11 int get field { return field_; } 12 int get field { return field_; }
12 } 13 }
13 14
14 int globalVar = 42; 15 int globalVar = 42;
15 16
16 // changed return type from int to num 17 // changed return type from int to num
17 num globalFunction() { 18 num globalFunction() {
18 return 42; 19 return 42;
19 } 20 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698