Index: runtime/lib/developer.dart |
diff --git a/tests/language/constructor_name_clash_lib.dart b/runtime/lib/developer.dart |
similarity index 60% |
copy from tests/language/constructor_name_clash_lib.dart |
copy to runtime/lib/developer.dart |
index 46ea6c0b3c621fcd1827750c10de66980b5b3057..c3c7042fb5f47d0006fd22c6c6b0530e1b7c4131 100644 |
--- a/tests/language/constructor_name_clash_lib.dart |
+++ b/runtime/lib/developer.dart |
@@ -2,13 +2,7 @@ |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
-library lib; |
+import 'dart:_internal'; |
Ivan Posva
2015/05/08 20:45:04
Why this import?
Cutch
2015/05/08 21:22:36
Done.
|
-var global = 0; |
- |
-class A { |
- A() { |
- global += 10; |
- try {} catch(e) {} // no inline |
- } |
-} |
+patch void breakHere() native "Debugger_breakHere"; |
+patch void breakHereIf(bool expr) native "Debugger_breakHereIf"; |
Ivan Posva
2015/05/08 20:45:04
breakHere({bool if: true, String msg});
Also the
Cutch
2015/05/08 21:22:36
went with 'debugger({bool when: true, String msg})
|