christophsturm
03/11/2021, 11:18 AMuli
03/11/2021, 11:31 AMlet myEnum: MyEnum = .myEnumValue
christophsturm
03/11/2021, 11:37 AM["abC","cdE"].map(&:downcase)
christophsturm
03/11/2021, 11:40 AMlistOf("aaa", "bbb").map(String::toLowerCase)
where String
can also be infered.elizarov
03/11/2021, 4:59 PM::id
is a reference to a top-level function named id
without a receiver. For resolving against the inferred type there's a separate issue: KT-16768 Context-sensitive resolution (Resolve unqualified enum constants based on expected type)uli
03/11/2021, 7:05 PMchristophsturm
03/11/2021, 8:36 PM