From e53f3610b2ea549f7fc82f0b7ebe86081d8fb4a0 Mon Sep 17 00:00:00 2001 From: Hongxin Liang Date: Wed, 22 Nov 2023 21:12:59 +0100 Subject: [PATCH] Clearer comment Signed-off-by: Hongxin Liang --- .../main/scala/org/flyte/flytekitscala/SdkLiteralTypes.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flytekit-scala_2.13/src/main/scala/org/flyte/flytekitscala/SdkLiteralTypes.scala b/flytekit-scala_2.13/src/main/scala/org/flyte/flytekitscala/SdkLiteralTypes.scala index be0f0ead..e7cc445a 100644 --- a/flytekit-scala_2.13/src/main/scala/org/flyte/flytekitscala/SdkLiteralTypes.scala +++ b/flytekit-scala_2.13/src/main/scala/org/flyte/flytekitscala/SdkLiteralTypes.scala @@ -308,7 +308,7 @@ object SdkLiteralTypes { value.asInstanceOf[Double].toLong } else if (tpe =:= typeOf[Float]) { value.asInstanceOf[Double].toFloat - } else if (tpe <:< typeOf[Option[Any]]) { // this has to be before Product check + } else if (tpe <:< typeOf[Option[Any]]) { // this has to be before Product check because Option is a Product Some( valueToParamValue( value,