Add is_declaration to SymbolOccurrence
[hiphop-php.git] / hphp / hack / test / infer_return_types / static_initalizer_conflict.php
blob174e420531f0b90da15f150907cc8db5b716fd26
1 <?hh
2 /**
3 * Copyright (c) 2014, Facebook, Inc.
4 * All rights reserved.
6 * This source code is licensed under the BSD-style license found in the
7 * LICENSE file in the "hack" directory of this source tree. An additional grant
8 * of patent rights can be found in the PATENTS file in the same directory.
12 class C {
13 private static $x;
15 public static function set(bool $y): void {
16 self::$x = $y;
20 class D {
21 private static $x = 42;
23 public static function set(bool $y): void {
24 self::$x = $y;