Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2084)

Unified Diff: tests/lib/mirrors/method_mirror_source_other.dart

Issue 1066203004: Fix MethodMirror.source when the method is on the first line in a script. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/object.cc ('k') | tests/lib/mirrors/method_mirror_source_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/lib/mirrors/method_mirror_source_other.dart
diff --git a/tests/lib/mirrors/method_mirror_source_other.dart b/tests/lib/mirrors/method_mirror_source_other.dart
new file mode 100644
index 0000000000000000000000000000000000000000..29adf5bb7a6eed091f1381a7c0fd3d05344722fc
--- /dev/null
+++ b/tests/lib/mirrors/method_mirror_source_other.dart
@@ -0,0 +1,6 @@
+main() {
+ print("Blah");
+}
+// This function must be on the first line.
+
+class SomethingInOther {}
« no previous file with comments | « runtime/vm/object.cc ('k') | tests/lib/mirrors/method_mirror_source_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698