Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // BSD-style license that can be found in the LICENSE file. | |
| 4 | |
| 5 #library("Prefix17Test.dart"); | |
| 6 #import("library12.dart", prefix:"lib12"); | |
| 7 | |
| 8 class LocalClass { | |
| 9 static int static_fld; | |
| 10 } | |
| 11 | |
| 12 void main() { | |
| 13 LocalClass.static_fld = 42; | |
| 14 var lc1 = new lib12.Library12(5); | |
| 15 lib12.Library12 lc2 = new lib12.Library12(10); | |
| 16 lib12.Library12 lc2m = new lib12.Library12.other(10,2); | |
| 17 lib12.Library12.static_fld = 43; | |
| 18 //print("${LocalClass.static_fld}, ${lc1.fld}, ${lc2.fld}, ${lc2m.fld}, ${lib1 2.Library12.static_fld}"); | |
|
mmendez
2011/11/01 14:02:08
Did you want to do an Expects here to check someth
codefu
2011/11/01 14:03:09
I'll update with expect tests and also check the o
| |
| 19 } | |
| OLD | NEW |