Files
sdk/pkg/front_end/testcases/inline_class/annotations.dart
T
Ahmed Ashour 28f69d5bd3 [cfe] inline class to handle annotations in constructors
Fixes #51397

Change-Id: I3454d1ce2f80567c57a781a485897bf795701696
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/283041
Reviewed-by: Johnni Winther <johnniwinther@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2023-02-16 19:32:11 +00:00

16 lines
350 B
Dart

// Copyright (c) 2023, 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.
@Deprecated('')
inline class A {
@Deprecated('')
final int i;
@Deprecated('')
A(this.i);
@Deprecated('')
void m() {}
}