OLD | NEW |
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 | 4 |
5 #library("Prefix21Bad"); | 5 #library("Prefix21Bad"); |
6 | 6 |
7 int badFunction(int x) { | 7 int badFunction(int x) { |
8 return x<<1; | 8 return x<<1; |
9 } | 9 } |
10 | 10 |
11 Function get getValue() { | 11 Function get getValue() { |
12 return badFunction; | 12 return badFunction; |
13 } | 13 } |
OLD | NEW |