blob: b3da80db7a49390130d0dd4382a2ac39aaae95a0 [file] [log] [blame]
// 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.
inline class PrivateInlineClass {
final int _it;
PrivateInlineClass(this._it);
void test() {
var a1 = this._it;
var a2 = _it;
var b1 = this._it<int>; // Error
var b2 = _it<int>; // Error
var c1 = this._it = 42; // Error, should not resolve to extension method.
var c2 = _it = 42; // Error, should not resolve to extension method.
}
}