blob: d3ad4557289572fb8de65a9630d69b8df92e6608 [file] [log] [blame]
// 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.
// @dart=2.9
class Class {
final int length;
const Class({this.length});
method1a() {
const Class(length: this.length);
}
method1b() {
const Class(length: length);
}
method2a() {
const a = this.length;
}
method2b() {
const a = length;
}
}
main() {}