Deactivated User
class X { fun s(): Iterator<Int> = generate<Int> { t().next() }.iterator() fun t(): Iterator<Int> = generate<Int> { s().next() }.iterator() } @Test fun syncGenerateBug() { sync { X().s().next() } }