<commit_before>/*
 * Copyright (c) 2011, 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.
 */
/**
 * @assertion It is a static warning if a class declares a static getter named
 * v and also has a non-static setter named v =.
 * @description Checks that a static warning is arisen if a class has an
 * implicitly declared static getter and an explicitly declared instance
 * setter with the same name.
 * @compile-error
 * @issue 24534
 * @author <EMAIL>
 */

class C {
  static int v;
  set v(int v1) { /// static type warning
  }
}

main() {
  C.v;
}
<commit_msg>Test description fixed.<commit_after>/*
 * Copyright (c) 2011, 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.
 */
/**
 * @assertion It is a static warning if a class declares a static getter named
 * v and also has a non-static setter named v =.
 * @description Checks that a static warning is arisen if a class has an
 * implicitly declared static getter and an explicitly declared instance
 * setter with the same name.
 * @static-warning
 * @issue 24534
 * @author <EMAIL>
 */

class C {
  static int v;
  set v(int v1) { /// static type warning
  }
}

main() {
  C.v;
}

{'fraction_non_alphanumeric': 0.08327501749475158, 'fraction_numerical': 0.013995801259622114, 'mean_word_length': 3.2058823529411766, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '245830', 'n_tokens_mistral': 437, 'n_tokens_neox': 412, 'n_words': 212}