You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: codegen/smithy-kotlin-codegen/src/main/kotlin/software/amazon/smithy/kotlin/codegen/rendering/waiters/KotlinJmespathExpressionVisitor.kt
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -164,6 +164,7 @@ class KotlinJmespathExpressionVisitor(
164
164
165
165
val codegen = buildString {
166
166
val nullables = buildList {
167
+
// FIXME In some cases we are unnecessarily handling nulls here, leading to compiler warnings.
167
168
if (left.shape?.isNullable ==true|| left.nullable) add("${left.identifier} == null")
168
169
if (right.shape?.isNullable ==true|| right.nullable) add("${right.identifier} == null")
0 commit comments