061d714971
This has been fixed for some time. Adding a test to verify. Closes #40945 Change-Id: I7ce93c7c1b8cd054bb57a1923aa8a3f98a9ad7db Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/177606 Reviewed-by: Dmitry Stefantsov <dmitryas@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com>
17 lines
346 B
Dart
17 lines
346 B
Dart
// Copyright (c) 2020, 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 C {
|
|
void set test(int v) {}
|
|
dynamic get test => 3.14;
|
|
}
|
|
|
|
test() {
|
|
C c = new C();
|
|
c.test = 1;
|
|
c.test;
|
|
}
|
|
|
|
main() {}
|