Revert "Migration change: temporarily specify type explicitly"

This reverts commit bc6e091004.

 This commit was needed to avoid bootstraping, now we can revert it
This commit is contained in:
Mikhail Zarechenskiy
2018-09-24 13:12:02 +03:00
parent 7c1d374ed5
commit 0da1b9b80f
8 changed files with 9 additions and 9 deletions
@@ -346,7 +346,7 @@ class LazyModuleDependencies<M : ModuleInfo>(
) : ModuleDependencies {
private val dependencies = storageManager.createLazyValue {
val moduleDescriptor = resolverForProject.descriptorForModule(module)
buildSequence<ModuleDescriptorImpl> {
buildSequence {
if (firstDependency != null) {
yield(resolverForProject.descriptorForModule(firstDependency))
}
@@ -715,7 +715,7 @@ class DoubleColonExpressionResolver(
?.apply { commitTrace() }?.results
}
val resultSequence = buildSequence<ResolutionResultsAndTraceCommitCallback> {
val resultSequence = buildSequence {
when (lhs) {
is DoubleColonLHS.Type -> {
val classifier = lhsType.constructor.declarationDescriptor
@@ -71,7 +71,7 @@ private class TestScriptDefinitionSource(val counter: AtomicInteger, val defGens
{
constructor(counter: AtomicInteger, vararg suffixes: String) : this(counter, suffixes.map { { FakeScriptDefinition(it) } })
override val definitions: Sequence<KotlinScriptDefinition> = buildSequence<FakeScriptDefinition> {
override val definitions: Sequence<KotlinScriptDefinition> = buildSequence {
for (gen in defGens) {
counter.incrementAndGet()
yield(gen())