dart-sdk/pkg/front_end/testcases/bug31124.dart.strong.expect
Paul Berry 18c87cbb64 Skip type inference for fields that have no type inferrer.
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>
2017-10-17 19:11:42 +00:00

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^";
}