blob: 3fc97e03c134971bf6a41a97d839b44d73c20c53 [file] [log] [blame]
// Copyright (c) 2018, the R8 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.
package regress_77944861.inner;
public class TopLevelPolicy {
public static void set(MobileIconState state, String desc) {
// Field write context. As in the same package, $IconState is accessible.
// If read/write contexts are not considered together, this leads to a wrong field binding.
state.description = desc;
}
private static abstract class IconState {
public String description;
}
public static class MobileIconState extends IconState {}
}