Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 class C { | 5 part of dart.core; |
| 6 static int staticMethod() => 42; | |
| 7 } | |
| 8 | 6 |
| 9 class G<T> {} | 7 /// Pause execution during debugging, a breakpoint. |
|
Lasse Reichstein Nielsen
2014/03/20 08:25:39
What does it means to be "during debugging". I'm a
| |
| 10 | 8 /// Has no effect when not debugging. |
| 11 class Const { | 9 external void get breakpoint; |
|
Lasse Reichstein Nielsen
2014/03/20 08:25:39
This is regrettably a breaking change (no pun inte
Lasse Reichstein Nielsen
2014/03/20 08:25:39
"external void get" is not allowed by the spec. Th
kevmoo
2014/03/20 16:34:46
DBC: Can we make this a method?
break() or setBre
ahe
2014/03/20 16:50:47
Breakpoint is one word according to DevTools, and
| |
| 12 const Const(); | |
| 13 } | |
| 14 | |
| 15 const constantInstance = const Const(); | |
| OLD | NEW |