blob: 53ab22e795c25f497549c515c118a2a643c038c4 [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.
import 'main_lib.dart';
class Class implements Interface {
int? field1;
int? field2;
int? field3;
}
void method(Interface i) {
i.field2 = i.field1;
i.field3 = i.field3;
}
main() {
method(new Class());
}