| OLD | NEW | 
|---|
|  | (Empty) | 
| 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 |  | 
| 3 // BSD-style license that can be found in the LICENSE file. |  | 
| 4 |  | 
| 5 library static_function_testlib; |  | 
| 6 import "dart:isolate" show SendPort; |  | 
| 7 |  | 
| 8 // Used by static_function_test.dart. |  | 
| 9 |  | 
| 10 void function(port) { port.send("LIBTOP"); } |  | 
| 11 void _function(port) { port.send("_LIBTOP"); } |  | 
| 12 |  | 
| 13 Function get privateFunction => _function; |  | 
| 14 |  | 
| 15 class C { |  | 
| 16   static void function(SendPort port) { port.send("LIB"); } |  | 
| 17   static void _function(SendPort port) { port.send("LIBPRIVATE"); } |  | 
| 18   static Function get privateFunction => _function; |  | 
| 19 } |  | 
| 20 |  | 
| 21 Function get privateClassFunction => _C.function; |  | 
| 22 Function get privateClassAndFunction => _C._function; |  | 
| 23 |  | 
| 24 class _C { |  | 
| 25   static void function(SendPort port) { port.send("_LIB"); } |  | 
| 26   static void _function(SendPort port) { port.send("_LIBPRIVATE"); } |  | 
| 27 } |  | 
| OLD | NEW | 
|---|