dab228e55f
Change-Id: Id38f5e7495c245e5a7b161b55c58b8826c146a80 Reviewed-on: https://dart-review.googlesource.com/c/90000 Commit-Queue: Jens Johansen <jensj@google.com> Reviewed-by: Peter von der Ahé <ahe@google.com>
21 lines
550 B
Plaintext
21 lines
550 B
Plaintext
library;
|
|
//
|
|
// Problems in library:
|
|
//
|
|
// pkg/front_end/testcases/bug31124.dart:1:22: Error: Expected a function body or '=>'.
|
|
// Try adding {}.
|
|
// var a = () => 'b';a();
|
|
// ^
|
|
//
|
|
// pkg/front_end/testcases/bug31124.dart:1:19: Error: 'a' is already declared in this scope.
|
|
// var a = () => 'b';a();
|
|
// ^
|
|
// pkg/front_end/testcases/bug31124.dart:1:5: Context: Previous declaration of 'a'.
|
|
// var a = () => 'b';a();
|
|
// ^
|
|
//
|
|
import self as self;
|
|
import "dart:core" as core;
|
|
|
|
static field () → core::String a;
|