D
dotty-0.27.0-RC1/bin/dotc hello.scala
-- [E044] Cyclic Error: hello.scala:3:28 ---------------------------------------
3 | if x == 0 then 1 else x * factorial(x)
| ^
| Overloaded or recursive method factorial needs return type
Size: a a a
D
dotty-0.27.0-RC1/bin/dotc hello.scala
-- [E044] Cyclic Error: hello.scala:3:28 ---------------------------------------
3 | if x == 0 then 1 else x * factorial(x)
| ^
| Overloaded or recursive method factorial needs return type
Oℕ
VS
E
Oℕ
☭S
IM
VR
get {
parameter("parapapa".?) { maybeParapapa: Option[String] =>
complete("ok")
}
}
Oℕ
VR
get {
parameter("parapapa".as[Int].?) { maybeParapapa: Option[Int] =>
complete("ok")
}
}
IM
IM
IM
.as[Option[String]].?(
"")
IM
VR
.as[Option[String]].?(
"")
as
не нужен. Знак вопроса уже делает параметр опшном. И стринг — тип оп умолчанию, его не нужно десериализоватьIM
R
MN
NG
KafkaConsumer
из fs2-kafka?offsetsForTimes
, который есть в джавовском консьюмере, но что-то к underlying инстану никак не получить доступ... разве что ручками его создать и потом засунуть в withCreateConsumer
, но что-т хзR