--TEST-- Covariant replacement of iterable type with unregistered intersection type in DNF type --FILE-- ===DONE=== --EXPECTF-- Fatal error: Could not check compatibility between Test2::method2(): (X&MyIterator)|int and Test::method2(): Traversable|array|int, because class X is not available in %s