mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 07:19:58 +00:00
18c87cbb64
This can happen in certain error recovery circumstances. Fixes #31124. Change-Id: Id814f2434ada93030b40f6dfcb5e62ec1a323d0e Reviewed-on: https://dart-review.googlesource.com/14504 Reviewed-by: Konstantin Shcheglov <scheglov@google.com> Commit-Queue: Paul Berry <paulberry@google.com>
7 lines
176 B
Plaintext
7 lines
176 B
Plaintext
library;
|
|
import self as self;
|
|
|
|
static method #main() → dynamic {
|
|
throw "pkg/front_end/testcases/bug31124.dart:1:1: Error: Duplicated name: a\nvar a = () => 'b';a();\n^";
|
|
}
|