1
0
mirror of https://github.com/php/php-src.git synced 2026-04-18 05:21:02 +02:00
Files
archived-php-src/ext/opcache/tests/preload_ind2.inc
Nikita Popov 9fd8e00f1a Fix use of type copy ctor when importing trait properties
We shouldn't call the copy constructor inside the original type,
duh.
2020-11-03 15:29:18 +01:00

10 lines
65 B
PHP

<?php
trait T {
public X|Y $prop;
}
class C {
use T;
}