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:
@@ -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))
|
||||
}
|
||||
|
||||
+1
-1
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user