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

Side by Side Diff: tests/lib/mirrors/method_mirror_source_line_ending_lf.dart

Issue 132773006: Fix handling of CRLF line endings in Script::GetSnippet. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: appease analyzer Created 6 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 import 'library space/lib with spaces.dart'; 5 // This file is marked executable so source control will preserve the type of
6 // line ending.
6 7
7 main() { 8 library line_endings.lf;
8 if (foo() != 499) throw "bad value"; 9
10 oneLineLF(x) => x;
11 multiLineLF(y) {
12 return y + 1;
9 } 13 }
14 a
15 (){
16 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698