=== tests/cases/conformance/es6/yieldExpressions/generatorTypeCheck17.ts ===
class Foo { x: number }
>Foo : Foo
>x : number

class Bar extends Foo { y: string }
>Bar : Bar
>Foo : Foo
>y : string

function* g(): IterableIterator<Foo> {
>g : () => IterableIterator<Foo>

    yield;
>yield : undefined

    yield new Bar;
>yield new Bar : undefined
>new Bar : Bar
>Bar : typeof Bar
}
