=== 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>
>IterableIterator : IterableIterator<T>
>Foo : Foo

    yield;
>yield : any

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