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

Side by Side Diff: tests/language/deferred_not_loaded_check_lib.dart

Issue 232563006: Insert checks before deferred calls and accesses. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 8 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) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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 part of test.method_location; 5 foo(int arg) {}
6 6
7 class ClassInOtherFile { 7 class C {
8 8 C(int arg) {}
9 ClassInOtherFile(); 9 static foo(int arg) {}
10
11 method() {}
12 } 10 }
13 11
14 topLevelInOtherFile() {} 12 var a;
15 13
16 spaceIdentedInOtherFile() {} 14 int get getter => 42;
17 15
18 » tabIdentedInOtherFile() {} 16 void set setter(int arg) {
17 a = 10;
18 }
19
20 var list = new List();
21
22 var closure = (int arg) => 3;
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698