1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file
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.md file.
4
5 class C{ C();}
ahe
2017/01/27 23:46:33
You can't see in my browser, but there's two Unico
You can't see in my browser, but there's two Unicode line separator characters
(U+2028) before the constructor.
You can generate this file with this Dart program:
main() {
print("class C{\u2028\u2028C();}");
}
Also, you can't see these error messages:
pkg/fasta/test/rasta/issue_000035a.dart:227: Error: The non-ASCII space
character U+2028 can only be used in strings and comments.
pkg/fasta/test/rasta/issue_000035a.dart:228: Error: The non-ASCII space
character U+2028 can only be used in strings and comments.
Notice the positions aren't line numbers, they're character offsets.
Issue 2664593002: Port parser and scanner fixes from rasta branch.
(Closed)
Created 3 years, 10 months ago by ahe
Modified 3 years, 10 months ago
Reviewers: Johnni Winther
Base URL:
Comments: 20