blob: 929fc645ea1c67958733035c0b1a91312de7b5d6 [file] [log] [blame]
// Copyright (c) 2018, the Dart project authors. Please see the AUTHORS file
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
class Repeated {
dynamic a = '', b = 'Something';
dynamic b;
// ^
// [analyzer] COMPILE_TIME_ERROR.DUPLICATE_DEFINITION
// [cfe] 'b' is already declared in this scope.
}
main() {}