traits: correctly import constants from trait-implemented interfaces
commit510e3a5ea0aee6677f577882b946993e63c5a312
authorEugene Letuchy <eletuchy@fb.com>
Tue, 11 Mar 2014 16:54:58 +0000 (11 09:54 -0700)
committerSara Golemon <sgolemon@fb.com>
Tue, 18 Mar 2014 21:00:07 +0000 (18 14:00 -0700)
tree512b34fc00119e458381124566486247d923812b
parentc63510b436796f8b2bd1179bad8c524dc78833ea
traits: correctly import constants from trait-implemented interfaces

... declared interfaces aren't quite good enough when traits
 join the party.

Reviewed By: @markw65

Differential Revision: D1213953
hphp/runtime/vm/class.cpp
hphp/test/slow/traits/traits_and_interfaces7.php [new file with mode: 0644]
hphp/test/slow/traits/traits_and_interfaces7.php.expect [new file with mode: 0644]