Unverified Commit f7961701 authored by Fahad Zubair's avatar Fahad Zubair Committed by GitHub
Browse files

Add missing imports for `kotlin.streams.toList` (#3773)

Kotlin `toList` is required for the `stream.toList` extension functions
that are used in this file.

The
[PR](https://github.com/smithy-lang/smithy-rs/pull/2544/files#diff-4444943dae2fce81f218aa052d99a5db6a584f25207d742575ff042c69f7f60a

)
accidentally removed the import statement from `OperationNormalizer.kt`.

Co-authored-by: default avatarFahad Zubair <fahadzub@amazon.com>
Co-authored-by: default avatarZelda Hessler <zhessler@amazon.com>
parent 191103c5
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -15,6 +15,7 @@ import software.amazon.smithy.model.shapes.ShapeId
import software.amazon.smithy.rust.codegen.core.util.orNull
import java.util.Optional
import java.util.logging.Logger
import kotlin.streams.toList

private const val SERVICE = "service"
private const val MODULE_NAME = "module"
+1 −0
Original line number Diff line number Diff line
@@ -21,6 +21,7 @@ import software.amazon.smithy.rust.codegen.core.util.orNull
import software.amazon.smithy.rust.codegen.core.util.outputShape
import software.amazon.smithy.rust.codegen.core.util.rename
import java.util.Optional
import kotlin.streams.toList

/**
 * Generate synthetic Input and Output structures for operations.