blob: 80cff1fb7c9a69f7022cfda6ab506ec0cda78480 [file] [log] [blame]
// Copyright (c) 2021, 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.
// Regression test for
// Verifies that compiler doesn't crash if annotation references field
// which is replaced with a getter.
class Qualifier {
final String name;
const Qualifier(;
class Foo implements Qualifier {
String get name => 'a';
class Bar {
void bar() {}
Qualifier x = Foo();
main() {